0
0
mirror of https://github.com/thegeeklab/wp-docker-buildx.git synced 2024-11-22 10:10:39 +00:00

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. // helper function to create the docker login command.
func commandLogin(login Login) *exec.Cmd { func commandLogin(login Login) *exec.Cmd {
if p.Login.Email != "" { if login.Email != "" {
return commandLoginEmail(login) return commandLoginEmail(login)
} }
return exec.Command( return exec.Command(