1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Fixed tag option for "docker pull" (the option was ignored)

This commit is contained in:
Sam Alba 2013-07-12 10:42:54 -07:00
parent 8e6c249e48
commit cd0fef633c

View file

@ -821,7 +821,9 @@ func (cli *DockerCli) CmdPull(args ...string) error {
}
remote, parsedTag := utils.ParseRepositoryTag(cmd.Arg(0))
if *tag == "" {
*tag = parsedTag
}
v := url.Values{}
v.Set("fromImage", remote)