Fix doc comment typo: NewSRVBuilder -> NewNonceSRVBuilder (#6942)

Fixes several doc comment typos and grammar.
This commit is contained in:
Preston Locke 2023-06-20 14:28:50 -05:00 committed by GitHub
parent 824417f6c0
commit 4cff3a2543
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -87,8 +87,8 @@ func NewDefaultSRVBuilder() resolver.Builder {
return &srvBuilder{scheme: "srv"}
}
// NewSRVBuilder creates a srvBuilder which is used to factory SRV DNS resolvers
// with a custom grpc.Balancer use by nonce-service clients.
// NewNonceSRVBuilder creates a srvBuilder which is used to factory SRV DNS
// resolvers with a custom grpc.Balancer used by nonce-service clients.
func NewNonceSRVBuilder() resolver.Builder {
return &srvBuilder{scheme: noncebalancer.SRVResolverScheme, balancer: noncebalancer.Name}
}