robotLJW commented on a change in pull request #776:
URL: 
https://github.com/apache/servicecomb-service-center/pull/776#discussion_r537202925



##########
File path: datasource/mongo/ms.go
##########
@@ -1717,7 +1717,7 @@ func (ds *DataSource) UpdateInstanceStatus(ctx 
context.Context, request *pb.Upda
                return resp, nil
        }
 
-       log.Infof("update instance[%s] status successfully", updateStatusFlag)
+       log.Info(fmt.Sprintf("update instance[%s] status successfully", 
updateStatusFlag))

Review comment:
       这两个日志打印结果应该是一样的吧,话说为什么要还下面这种格式?能解释下吗,谢谢




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