Merge pull request #10620 from acbodine/notify_user_of_creds_save
Adds: notify user of login credential persistence for registry Upstream-commit: e781c9624cb3b646fde1501d95d15933eedadf1e Component: engine
This commit is contained in:
@ -411,6 +411,8 @@ func (cli *DockerCli) CmdLogin(args ...string) error {
|
||||
return err
|
||||
}
|
||||
registry.SaveConfig(cli.configFile)
|
||||
fmt.Fprintf(cli.out, "WARNING: login credentials saved in %s.\n", path.Join(homedir.Get(), registry.CONFIGFILE))
|
||||
|
||||
if out2.Get("Status") != "" {
|
||||
fmt.Fprintf(cli.out, "%s\n", out2.Get("Status"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user