From f0ca5c1376f28c2a6c2aebeab4b83ceb35a78817 Mon Sep 17 00:00:00 2001 From: Yann Hodique Date: Mon, 16 Jul 2018 16:00:03 -0700 Subject: [PATCH] client-go: fix error message spelling in rest config --- staging/src/k8s.io/client-go/rest/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/staging/src/k8s.io/client-go/rest/config.go b/staging/src/k8s.io/client-go/rest/config.go index 7934a01961e..39fde2de51d 100644 --- a/staging/src/k8s.io/client-go/rest/config.go +++ b/staging/src/k8s.io/client-go/rest/config.go @@ -220,7 +220,7 @@ func RESTClientFor(config *Config) (*RESTClient, error) { // the config.Version to be empty. func UnversionedRESTClientFor(config *Config) (*RESTClient, error) { if config.NegotiatedSerializer == nil { - return nil, fmt.Errorf("NeogitatedSerializer is required when initializing a RESTClient") + return nil, fmt.Errorf("NegotiatedSerializer is required when initializing a RESTClient") } baseURL, versionedAPIPath, err := defaultServerUrlFor(config)