mirror of
https://github.com/clearlinux/docker.git
synced 2026-08-22 05:56:17 +00:00
fix merge issue
This commit is contained in:
+1
-1
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user