mirror of https://github.com/docker/docs.git
Removed DOCKER_INDEX_URL
This commit is contained in:
parent
019324015b
commit
33d97e81eb
|
@ -41,9 +41,6 @@ func NewAuthConfig(username, password, email, rootPath string) *AuthConfig {
|
||||||
}
|
}
|
||||||
|
|
||||||
func IndexServerAddress() string {
|
func IndexServerAddress() string {
|
||||||
if os.Getenv("DOCKER_INDEX_URL") != "" {
|
|
||||||
return os.Getenv("DOCKER_INDEX_URL") + "/v1/"
|
|
||||||
}
|
|
||||||
return INDEXSERVER
|
return INDEXSERVER
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue