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

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. // 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 p.Login.Email != "" {
return commandLoginEmail(p.Login) return commandLoginEmail(login)
} }
return exec.Command( return exec.Command(
dockerExe, "login", dockerExe, "login",