Skip to content

Commit

Permalink
[2.2.x] Fix nacosServiceInstance scheme npe (#3545)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuluo-yx authored Mar 3, 2024
2 parents 2d107bf + d176c67 commit d39078a
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ public Map<String, String> getMetadata() {
return metadata;
}

@Override
public String getScheme() {
return getUri().getScheme();
}

public void setServiceId(String serviceId) {
this.serviceId = serviceId;
}
Expand Down

0 comments on commit d39078a

Please # to comment.