Skip to content

Commit 7e5ca6d

Browse files
committed
Merge branch '2.0.x' into 2.1.x
Closes gh-17268
2 parents 6e5ba80 + 11dee3c commit 7e5ca6d

File tree

1 file changed

+2
-1
lines changed
  • spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/server

1 file changed

+2
-1
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/server/ManagementServerProperties.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ public Integer getPort() {
6666

6767
/**
6868
* Sets the port of the management server, use {@code null} if the
69-
* {@link ServerProperties#getPort() server port} should be used. To disable use 0.
69+
* {@link ServerProperties#getPort() server port} should be used. Set to 0 to use a
70+
* random port or set to -1 to disable.
7071
* @param port the port
7172
*/
7273
public void setPort(Integer port) {

0 commit comments

Comments
 (0)