From e1b607a3511dfe7259434de959cda87ec9e0bd34 Mon Sep 17 00:00:00 2001 From: Jake Sanders Date: Fri, 9 Feb 2018 13:48:01 -0800 Subject: [PATCH] defaultIndexserver -> defaultIndexServer Signed-off-by: Jake Sanders --- cli/config/configfile/file.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/config/configfile/file.go b/cli/config/configfile/file.go index f513144bdc..9338bc4e66 100644 --- a/cli/config/configfile/file.go +++ b/cli/config/configfile/file.go @@ -19,7 +19,7 @@ const ( // This constant is only used for really old config files when the // URL wasn't saved as part of the config file and it was just // assumed to be this value. - defaultIndexserver = "https://index.docker.io/v1/" + defaultIndexServer = "https://index.docker.io/v1/" ) // ConfigFile ~/.docker/config.json file info @@ -87,8 +87,8 @@ func (configFile *ConfigFile) LegacyLoadFromReader(configData io.Reader) error { if err != nil { return err } - authConfig.ServerAddress = defaultIndexserver - configFile.AuthConfigs[defaultIndexserver] = authConfig + authConfig.ServerAddress = defaultIndexServer + configFile.AuthConfigs[defaultIndexServer] = authConfig } else { for k, authConfig := range configFile.AuthConfigs { authConfig.Username, authConfig.Password, err = decodeAuth(authConfig.Auth)