Fix variable

This commit is contained in:
Koen Schmeets 2016-06-18 23:24:57 +02:00
parent 65be2b6a3c
commit b751480d55

View File

@ -123,7 +123,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 != "" {
if login.Email != "" {
return commandLoginEmail(login)
}
return exec.Command(