File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import (
1515const CONFIGFILE = ".dockercfg"
1616
1717// the registry server we want to login against
18- const INDEX_SERVER = "https://indexstaging- docker.dotcloud.com "
18+ const INDEX_SERVER = "https://index. docker.io "
1919
2020type AuthConfig struct {
2121 Username string `json:"username"`
@@ -131,11 +131,11 @@ func Login(authConfig *AuthConfig) (string, error) {
131131 }
132132
133133 if reqStatusCode == 201 {
134- status = "Account created. Please use the confirmation link we sent" +
134+ status = "Account created. Please use the confirmation link we sent" +
135135 " to your e-mail to activate it.\n "
136136 storeConfig = true
137137 } else if reqStatusCode == 403 {
138- return "" , fmt .Errorf ("Login: Your account hasn't been activated. " +
138+ return "" , fmt .Errorf ("Login: Your account hasn't been activated. " +
139139 "Please check your e-mail for a confirmation link." )
140140 } else if reqStatusCode == 400 {
141141 if string (reqBody ) == "\" Username or email already exists\" " {
You can’t perform that action at this time.
0 commit comments