chenshouye168 commented on code in PR #4670:
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/4670#discussion_r1908330636


##########
foundations/foundation-registry/src/main/java/org/apache/servicecomb/registry/discovery/StatefulDiscoveryInstance.java:
##########
@@ -62,6 +62,7 @@ public enum HistoryStatus {
 
   public StatefulDiscoveryInstance(DiscoveryInstance discoveryInstance) {
     this.discoveryInstance = discoveryInstance;
+    this.microserviceInstanceStatus = discoveryInstance.getStatus();
   }
 
   public MicroserviceInstanceStatus getMicroserviceInstanceStatus() {

Review Comment:
   yes, the 'getMicroserviceInstanceStatus'  method  has been added to the 
MicroserviceInstance class.,as getStatus().



-- 
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]

Reply via email to