Commit e7b6d77c authored by David Eads's avatar David Eads

remove dead prefix field

parent 59bc6d0e
...@@ -54,9 +54,6 @@ type Config struct { ...@@ -54,9 +54,6 @@ type Config struct {
Host string Host string
// APIPath is a sub-path that points to an API root. // APIPath is a sub-path that points to an API root.
APIPath string 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 // ContentConfig contains settings that affect how objects are transformed when
// sent to the server. // sent to the server.
...@@ -401,7 +398,6 @@ func AnonymousClientConfig(config *Config) *Config { ...@@ -401,7 +398,6 @@ func AnonymousClientConfig(config *Config) *Config {
return &Config{ return &Config{
Host: config.Host, Host: config.Host,
APIPath: config.APIPath, APIPath: config.APIPath,
Prefix: config.Prefix,
ContentConfig: config.ContentConfig, ContentConfig: config.ContentConfig,
TLSClientConfig: TLSClientConfig{ TLSClientConfig: TLSClientConfig{
Insecure: config.Insecure, Insecure: config.Insecure,
...@@ -425,7 +421,6 @@ func CopyConfig(config *Config) *Config { ...@@ -425,7 +421,6 @@ func CopyConfig(config *Config) *Config {
return &Config{ return &Config{
Host: config.Host, Host: config.Host,
APIPath: config.APIPath, APIPath: config.APIPath,
Prefix: config.Prefix,
ContentConfig: config.ContentConfig, ContentConfig: config.ContentConfig,
Username: config.Username, Username: config.Username,
Password: config.Password, Password: config.Password,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment