[2.2.x] Fix nacosServiceInstance scheme npe (#3545)

pull/3722/head
YuLuo 11 months ago committed by GitHub
commit d39078ab70
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -68,6 +68,11 @@ public class NacosServiceInstance implements ServiceInstance {
return metadata; return metadata;
} }
@Override
public String getScheme() {
return getUri().getScheme();
}
public void setServiceId(String serviceId) { public void setServiceId(String serviceId) {
this.serviceId = serviceId; this.serviceId = serviceId;
} }

Loading…
Cancel
Save