Sfoglia il codice sorgente

Removed DOCKER_INDEX_URL

Sam Alba 12 anni fa
parent
commit
33d97e81eb
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 3
      auth/auth.go

+ 0 - 3
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
 }