Lishuoyy commented on issue #4565:
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/4565#issuecomment-2443332778

   > 需要看下你的业务场景,使用 ServiceRegistryClient 做什么。
   
   更新微服务实例状态,当前是这么使用的。
   ```
   RegistryUtils.getServiceRegistryClient()
       
.updateMicroserviceInstanceStatus(RegistryUtils.getMicroserviceInstance().getServiceId(),
           RegistryUtils.getMicroserviceInstance().getInstanceId(), 
MicroserviceInstanceStatus.UP);
   ```
   对应的是改为下面这样吗?
   
`RegistrationManager.INSTANCE.updateMicroserviceInstanceStatus(MicroserviceInstanceStatus.UP);`


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