Skip to content

Commit

Permalink
fix warn log
Browse files Browse the repository at this point in the history
  • Loading branch information
FinalT committed Jan 4, 2024
1 parent a4d9d0a commit 41b3ea5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cluster/router/condition/dynamic_router.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func (s *ServiceRouter) Notify(invokers []protocol.Invoker) {

dynamicConfiguration := conf.GetEnvInstance().GetDynamicConfiguration()
if dynamicConfiguration == nil {
logger.Warnf("config center does not start, please check if the configuration center has been properly configured in dubbogo.yml")
logger.Infof("Config center does not start, Condition router will not be enabled")
return
}
key := strings.Join([]string{url.ColonSeparatedKey(), constant.ConditionRouterRuleSuffix}, "")
Expand Down Expand Up @@ -183,7 +183,7 @@ func (a *ApplicationRouter) Notify(invokers []protocol.Invoker) {
if providerApplicaton != a.application {
dynamicConfiguration := conf.GetEnvInstance().GetDynamicConfiguration()
if dynamicConfiguration == nil {
logger.Warnf("config center does not start, please check if the configuration center has been properly configured in dubbogo.yml")
logger.Infof("Config center does not start, Condition router will not be enabled")
return
}

Expand Down
2 changes: 1 addition & 1 deletion cluster/router/tag/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (p *PriorityRouter) Notify(invokers []protocol.Invoker) {
}
dynamicConfiguration := conf.GetEnvInstance().GetDynamicConfiguration()
if dynamicConfiguration == nil {
logger.Warnf("config center does not start, please check if the configuration center has been properly configured in dubbogo.yml")
logger.Infof("Config center does not start, Tag router will not be enabled")
return
}
key := strings.Join([]string{application, constant.TagRouterRuleSuffix}, "")
Expand Down

0 comments on commit 41b3ea5

Please sign in to comment.