Fix login message to say pull instead of push.

This commit is contained in:
Christopher Rigor
2014-01-05 17:07:16 +08:00
parent af50b2f17c
commit 599009191a
+1 -1
View File
@@ -1100,7 +1100,7 @@ func (cli *DockerCli) CmdPull(args ...string) error {
if err := pull(authConfig); err != nil {
if err.Error() == registry.ErrLoginRequired.Error() {
fmt.Fprintln(cli.out, "\nPlease login prior to push:")
fmt.Fprintln(cli.out, "\nPlease login prior to pull:")
if err := cli.CmdLogin(endpoint); err != nil {
return err
}