Fix missing 'to'. (#1952)

This commit is contained in:
Jean-Rémy Bancel 2020-12-08 17:12:41 -08:00 committed by GitHub
parent 120f38c15b
commit b1ac587fdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ func New(
opts ...TransportOption) (*SpoofingClient, error) {
endpoint, mapper, err := ResolveEndpoint(ctx, kubeClientset, domain, resolvable, endpointOverride)
if err != nil {
return nil, fmt.Errorf("failed get the cluster endpoint: %w", err)
return nil, fmt.Errorf("failed to get the cluster endpoint: %w", err)
}
// Spoof the hostname at the resolver level