You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "justxuewei (via GitHub)" <gi...@apache.org> on 2023/06/18 08:29:57 UTC
[GitHub] [dubbo-go] justxuewei commented on a diff in pull request #2338: fix: solve config bool field zero value bug by using pointer
justxuewei commented on code in PR #2338:
URL: https://github.com/apache/dubbo-go/pull/2338#discussion_r1233227977
##########
cluster/router/tag/router.go:
##########
@@ -58,7 +58,7 @@ func (p *PriorityRouter) Route(invokers []protocol.Invoker, url *common.URL, inv
return staticTag(invokers, url, invocation)
}
routerCfg := value.(config.RouterConfig)
Review Comment:
See https://github.com/creasty/defaults/issues/30#issuecomment-942435138. This is a feature for the defaults library.
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org