Merge pull request #3455 from crigor/fix-pull-message
Fix login message to say pull instead of push.
This commit is contained in:
commit
73294b6d56
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue