implement Registration.getServiceId()

parent ed6c4b19
...@@ -111,6 +111,11 @@ public class EurekaRegistration implements Registration { ...@@ -111,6 +111,11 @@ public class EurekaRegistration implements Registration {
} }
@Override
public String getServiceId() {
return this.instanceConfig.getAppname();
}
public CloudEurekaClient getEurekaClient() { public CloudEurekaClient getEurekaClient() {
if (this.cloudEurekaClient.get() == null) { if (this.cloudEurekaClient.get() == null) {
try { try {
......
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