tianxiaoliang commented on a change in pull request #764:
URL:
https://github.com/apache/servicecomb-service-center/pull/764#discussion_r531317843
##########
File path: server/core/microservice.go
##########
@@ -88,10 +88,11 @@ func prepareSelfRegistration() {
}
func AddDefaultContextValue(ctx context.Context) context.Context {
- return util.SetContext(util.SetContext(util.SetDomainProject(ctx,
+ return
util.SetContext(util.SetContext(util.SetContext(util.SetDomainProject(ctx,
RegistryDomain, RegistryProject),
CtxScSelf, true),
- CtxScRegistry, "1")
+ CtxScRegistry, "1"),
Review comment:
magic number
----------------------------------------------------------------
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]