From c673e31530e10ecdddfab43a128c3be2d2ae89b9 Mon Sep 17 00:00:00 2001 From: David Eads Date: Mon, 29 Jan 2018 11:30:14 -0500 Subject: [PATCH] remove dead prefix field Kubernetes-commit: e7b6d77c7ec39b00da7215626cef3c0ae87fca3c --- rest/config.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/rest/config.go b/rest/config.go index eb006ea1..c1a11b8f 100644 --- a/rest/config.go +++ b/rest/config.go @@ -54,9 +54,6 @@ type Config struct { Host string // APIPath is a sub-path that points to an API root. APIPath string - // Prefix is the sub path of the server. If not specified, the client will set - // a default value. Use "/" to indicate the server root should be used - Prefix string // ContentConfig contains settings that affect how objects are transformed when // sent to the server. @@ -401,7 +398,6 @@ func AnonymousClientConfig(config *Config) *Config { return &Config{ Host: config.Host, APIPath: config.APIPath, - Prefix: config.Prefix, ContentConfig: config.ContentConfig, TLSClientConfig: TLSClientConfig{ Insecure: config.Insecure, @@ -425,7 +421,6 @@ func CopyConfig(config *Config) *Config { return &Config{ Host: config.Host, APIPath: config.APIPath, - Prefix: config.Prefix, ContentConfig: config.ContentConfig, Username: config.Username, Password: config.Password,