You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/11/27 01:42:07 UTC

[GitHub] [servicecomb-service-center] tianxiaoliang commented on a change in pull request #764: SCB-2094 Bug fixes

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:
users@infra.apache.org