Update AbstractGracefulServiceRegistration.java

pull/441/head
cheese8 3 years ago
parent 65e2fdbb0b
commit 1907e537c1

@ -83,6 +83,7 @@ public abstract class AbstractGracefulServiceRegistration<R extends Registration
return;
}
}
// Do it need to support random server port?
this.port.compareAndSet(0, Integer.parseInt(environment.getProperty("server.port")));
this.start();
}

Loading…
Cancel
Save