Skip to content

Commit 45d2f1d

Browse files
committed
Merge branch '2.1.x'
Closes gh-17269
2 parents c9b8d98 + 7e5ca6d commit 45d2f1d

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)