Skip to content

Commit

Permalink
xds/resolver: move cluster specifier plugin tests to test only package (
Browse files Browse the repository at this point in the history
  • Loading branch information
easwars authored Oct 12, 2023
1 parent dd4c0ad commit 5a6773c
Show file tree
Hide file tree
Showing 4 changed files with 217 additions and 196 deletions.
5 changes: 5 additions & 0 deletions resolver/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,11 @@ func (t Target) Endpoint() string {
return strings.TrimPrefix(endpoint, "/")
}

// String returns a string representation of Target.
func (t Target) String() string {
return t.URL.String()
}

// Builder creates a resolver that will be used to watch name resolution updates.
type Builder interface {
// Build creates a new resolver for the given target.
Expand Down
Loading

0 comments on commit 5a6773c

Please sign in to comment.