tianxiaoliang commented on a change in pull request #912:
URL: 
https://github.com/apache/servicecomb-service-center/pull/912#discussion_r601081990



##########
File path: datasource/mongo/ms.go
##########
@@ -1903,6 +1902,11 @@ func registryInstance(ctx context.Context, request 
*discovery.RegisterInstanceRe
        project := util.ParseProject(ctx)
        remoteIP := util.GetIPFromContext(ctx)
        instance := request.Instance
+       ttl := int64(instance.HealthCheck.Interval * 
(instance.HealthCheck.Times + 1))
+
+       instanceFlag := fmt.Sprintf("ttl %ds, endpoints %v, host '%s', 
serviceID %s",

Review comment:
       不要打host name和endpoints,分别涉及隐私信息和网络拓扑暴露




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


Reply via email to