robotLJW commented on a change in pull request #953:
URL:
https://github.com/apache/servicecomb-service-center/pull/953#discussion_r617225510
##########
File path: datasource/mongo/event/instance_event_handler.go
##########
@@ -75,6 +75,7 @@ func (h InstanceEventHandler) OnEvent(evt sd.MongoEvent) {
metrics.ReportInstances(instance.Domain, increaseOne)
frameworkName, frameworkVersion := getFramework(microService)
metrics.ReportFramework(instance.Domain, instance.Project,
frameworkName, frameworkVersion, increaseOne)
+ return
Review comment:
这个为什么加个return?insert不需要推?
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]