Fix parameter value

This commit is contained in:
Koen Schmeets 2016-06-18 23:15:03 +02:00
parent 284c8ef789
commit 65be2b6a3c

View File

@ -124,7 +124,7 @@ const dockerExe = "/usr/local/bin/docker"
// helper function to create the docker login command.
func commandLogin(login Login) *exec.Cmd {
if p.Login.Email != "" {
return commandLoginEmail(p.Login)
return commandLoginEmail(login)
}
return exec.Command(
dockerExe, "login",