Skip to content

Commit

Permalink
Merge pull request #13 from li-jin-gou/fix_name
Browse files Browse the repository at this point in the history
fix: resolver name repeat
  • Loading branch information
GuangmingLuo authored Jun 22, 2022
2 parents 3aa5f9d + e94b4d9 commit d4688c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resolver/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (n *nacosResolver) Diff(cacheKey string, prev, next discovery.Result) (disc

// Name returns the name of the resolver.
func (n *nacosResolver) Name() string {
return "nacos"
return "nacos" + ":" + n.opts.cluster + ":" + n.opts.group
}

var _ discovery.Resolver = (*nacosResolver)(nil)

0 comments on commit d4688c3

Please sign in to comment.