commands: fix invalid reload on boot

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
Tonis Tiigi
2019-04-15 17:01:00 -07:00
parent 0f4de0d7e4
commit f7dac5a178
6 changed files with 44 additions and 29 deletions

View File

@ -39,7 +39,7 @@ func runUse(dockerCli command.Cli, in useOptions, name string) error {
}
for _, l := range list {
if l.Name == name {
return errors.Errorf("to switch to context %s use `docker context use %s`", name, name)
return errors.Errorf("run `docker context use %s` to switch to context %s", name, name)
}
}