1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

fix merge issue

This commit is contained in:
Victor Vieux 2013-08-13 13:35:34 +00:00
parent f6760fca88
commit 6cb908bb82

View file

@ -857,7 +857,7 @@ func (cli *DockerCli) CmdPush(args ...string) error {
}
if err := push(); err != nil {
if err == fmt.Errorf("Authentication is required.") {
if err.Error() == "Authentication is required." {
if err = cli.checkIfLogged("push"); err == nil {
return push()
}