Skip to content

Commit

Permalink
fix: resolver name repeat
Browse files Browse the repository at this point in the history
  • Loading branch information
li-jin-gou committed Jun 21, 2022
1 parent 3aa5f9d commit e94b4d9
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 e94b4d9

Please sign in to comment.