Commit 509c8e9f by Spencer Gibb

polish

parent 4fdb85e6
......@@ -93,13 +93,17 @@ public class EurekaDiscoveryClient implements DiscoveryClient {
return instances;
}
static class EurekaServiceInstance implements ServiceInstance {
public static class EurekaServiceInstance implements ServiceInstance {
private InstanceInfo instance;
EurekaServiceInstance(InstanceInfo instance) {
this.instance = instance;
}
public InstanceInfo getInstanceInfo() {
return instance;
}
@Override
public String getServiceId() {
return this.instance.getAppName();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment