Browse Source

Merge pull request #3455 from crigor/fix-pull-message

Fix login message to say pull instead of push.
Victor Vieux 11 years ago
parent
commit
73294b6d56
1 changed files with 1 additions and 1 deletions
  1. 1 1
      commands.go

+ 1 - 1
commands.go

@@ -1100,7 +1100,7 @@ func (cli *DockerCli) CmdPull(args ...string) error {
 
 
 	if err := pull(authConfig); err != nil {
 	if err := pull(authConfig); err != nil {
 		if err.Error() == registry.ErrLoginRequired.Error() {
 		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 {
 			if err := cli.CmdLogin(endpoint); err != nil {
 				return err
 				return err
 			}
 			}