mirror of
https://github.com/clearlinux/docker.git
synced 2026-08-21 13:18:00 +00:00
Merge pull request #1738 from jonasi/error-to-stderr
Unable to find image error should print to stderr
This commit is contained in:
+1
-1
@@ -1426,7 +1426,7 @@ func (cli *DockerCli) CmdRun(args ...string) error {
|
||||
tag = DEFAULTTAG
|
||||
}
|
||||
|
||||
fmt.Printf("Unable to find image '%s' (tag: %s) locally\n", config.Image, tag)
|
||||
fmt.Fprintf(cli.err, "Unable to find image '%s' (tag: %s) locally\n", config.Image, tag)
|
||||
|
||||
v := url.Values{}
|
||||
repos, tag := utils.ParseRepositoryTag(config.Image)
|
||||
|
||||
Reference in New Issue
Block a user