liubao68 commented on code in PR #4670:
URL:
https://github.com/apache/servicecomb-java-chassis/pull/4670#discussion_r1903754186
##########
service-registry/registry-service-center/src/main/java/org/apache/servicecomb/registry/sc/SCRegistration.java:
##########
@@ -195,4 +195,10 @@ public Microservice getBackendMicroservice() {
public MicroserviceInstance getBackendMicroserviceInstance() {
return microserviceInstance;
}
+ public MicroserviceInstance getLatestMicroserviceInstance() {
+ MicroserviceInstance latestInstance =
serviceCenterClient.getMicroserviceInstance(microserviceInstance.getServiceId(),
+ microserviceInstance.getInstanceId());
+ microserviceInstance.setStatus(latestInstance.getStatus());
+ return latestInstance;
+ }
Review Comment:
This method is never used.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]