Ver Fonte

Merge pull request #793 from dotcloud/774-remove_login_check_on_pull-fix

- Registry: remove login check on pull
Guillaume J. Charmes há 12 anos atrás
pai
commit
1bafe9da26
1 ficheiros alterados com 0 adições e 6 exclusões
  1. 0 6
      commands.go

+ 0 - 6
commands.go

@@ -739,12 +739,6 @@ func (cli *DockerCli) CmdPull(args ...string) error {
 		remote = remoteParts[0]
 	}
 
-	if strings.Contains(remote, "/") {
-		if _, err := cli.checkIfLogged(true, "pull"); err != nil {
-			return err
-		}
-	}
-
 	v := url.Values{}
 	v.Set("fromImage", remote)
 	v.Set("tag", *tag)