Skip to content

Commit

Permalink
Increment: Modifies description of OverrideAuthority()
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditya-Sood committed Dec 5, 2023
1 parent 1dd2231 commit fb65458
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resolver/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ type Resolver interface {
// By default, the authority used is target.Endpoint().
type AuthorityOverrider interface {
// OverrideAuthority returns the authority to use for a ClientConn with the
// given target. It must not perform I/O or any other blocking operations.
// given target. The implementation must generate it without blocking,
// typically in line, and must keep it unchanged.
OverrideAuthority(Target) string
}

0 comments on commit fb65458

Please sign in to comment.