formatting
This commit is contained in:
@@ -149,7 +149,8 @@ public class ConfigServerConfigDataLocationResolver
|
||||
instanceMonitor.refresh();
|
||||
return instanceMonitor;
|
||||
});
|
||||
// promote ConfigServerInstanceMonitor to bean so updates can be made to config client uri
|
||||
// promote ConfigServerInstanceMonitor to bean so updates can be made to
|
||||
// config client uri
|
||||
bootstrapContext.addCloseListener(event -> {
|
||||
ConfigServerInstanceMonitor configServerInstanceMonitor = event.getBootstrapContext()
|
||||
.get(ConfigServerInstanceMonitor.class);
|
||||
|
||||
@@ -59,8 +59,8 @@ public class ConfigServerInstanceProvider {
|
||||
throw new IllegalStateException("No instances found of configserver (" + serviceId + ")");
|
||||
}
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug("Located configserver (" + serviceId + ") via discovery. No of instances found: " + instances
|
||||
.size());
|
||||
log.debug("Located configserver (" + serviceId + ") via discovery. No of instances found: "
|
||||
+ instances.size());
|
||||
}
|
||||
return instances;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user