diff --git a/auth/auth.go b/auth/auth.go index 2e52af88de..97df928b6b 100644 --- a/auth/auth.go +++ b/auth/auth.go @@ -41,9 +41,6 @@ func NewAuthConfig(username, password, email, rootPath string) *AuthConfig { } func IndexServerAddress() string { - if os.Getenv("DOCKER_INDEX_URL") != "" { - return os.Getenv("DOCKER_INDEX_URL") + "/v1/" - } return INDEXSERVER }