Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Commit

Permalink
update apollo
Browse files Browse the repository at this point in the history
  • Loading branch information
shenghui committed Jun 16, 2020
1 parent c462f35 commit 70cc7f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apollo.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func initApollo() {
return
}

if InStrings(defaultNamespace, cfg.Namespace...) {
if !InStrings(defaultNamespace, cfg.Namespace...) {
cfg.Namespace = append(cfg.Namespace, defaultNamespace)
}

Expand Down

0 comments on commit 70cc7f5

Please sign in to comment.