@ -83,11 +87,15 @@ public class EurekaDiscoveryClientConfiguration implements SmartLifecycle, Order
@@ -83,11 +87,15 @@ public class EurekaDiscoveryClientConfiguration implements SmartLifecycle, Order
@Autowired
privateEurekaClienteurekaClient;
@Autowired
privateInstanceInfoinstanceInfo;
@Override
publicvoidstart(){
// only set the port if the nonSecurePort is 0 and this.port != 0
// only initialize if nonSecurePort is greater than 0 and it isn't already running
@ -114,6 +122,13 @@ public class EurekaDiscoveryClientConfiguration implements SmartLifecycle, Order
@@ -114,6 +122,13 @@ public class EurekaDiscoveryClientConfiguration implements SmartLifecycle, Order