client-go: fix error message spelling in rest config

This commit is contained in:
Yann Hodique
2018-07-16 16:00:03 -07:00
committed by GitHub
parent ac4715d6ac
commit f0ca5c1376

View File

@@ -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)