mainsunshine01 commented on code in PR #3959:
URL:
https://github.com/apache/servicecomb-java-chassis/pull/3959#discussion_r1349498274
##########
foundations/foundation-registry/src/main/java/org/apache/servicecomb/registry/consumer/AppManager.java:
##########
@@ -70,13 +70,13 @@ public MicroserviceVersions
getOrCreateMicroserviceVersions(String appId, String
return
microserviceManager.getOrCreateMicroserviceVersions(microserviceName);
}
- public void onMicroserviceInstancesChanged(MicroserviceKey microserviceKey) {
- MicroserviceManager microserviceManager =
apps.get(microserviceKey.getAppId());
+ public void onMicroserviceInstanceChanged(MicroserviceInstanceChangedEvent
changedEvent) {
+ MicroserviceManager microserviceManager =
apps.get(changedEvent.getKey().getAppId());
if (microserviceManager == null) {
return;
}
Review Comment:
> 1234567890123456789012345678901234567890
1234567890123456789012345678901234567890 123456789012345678901234567890
12345678901234567890 12345678901234567890 12345678901234567890
--
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]