From 334ce435af8705300fe9cb41de42d3f6001414b9 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 Kubernetes-commit: f0ca5c1376f28c2a6c2aebeab4b83ceb35a78817 --- rest/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest/config.go b/rest/config.go index 7934a019..39fde2de 100644 --- a/rest/config.go +++ b/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)