Fix parameter value
This commit is contained in:
parent
284c8ef789
commit
65be2b6a3c
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user