Browse Source

fix merge issue

Victor Vieux 12 năm trước cách đây
mục cha
commit
6cb908bb82
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      commands.go

+ 1 - 1
commands.go

@@ -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()
 			}