wenxuwan commented on a change in pull request #1083:
URL: https://github.com/apache/dubbo-go/pull/1083#discussion_r606666357
##########
File path: cluster/router/chain/chain.go
##########
@@ -234,10 +152,14 @@ func NewRouterChain(url *common.URL) (*RouterChain,
error) {
}
routers := make([]router.PriorityRouter, 0, len(routerFactories))
+
for key, routerFactory := range routerFactories {
- r, err := routerFactory().NewPriorityRouter(url, chain.notify)
+ if virtualServiceConfigByte == nil || destinationRuleConfigByte
== nil {
+ logger.Errorf("virtual Service Config or
destinationRule Confi Byte may be empty, pls check your
CONF_VIRTUAL_SERVICE_FILE_PATH and CONF_DEST_RULE_FILE_PATH env is correctly
point to your yaml file\n")
Review comment:
change the log level to warn
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]