mirror of https://github.com/docker/docs.git
Merge pull request #1198 from dotcloud/fix_pull_tag
Fixed tag option for "docker pull" (the option was ignored)
This commit is contained in:
commit
2051ebc0eb
|
@ -821,7 +821,9 @@ func (cli *DockerCli) CmdPull(args ...string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
remote, parsedTag := utils.ParseRepositoryTag(cmd.Arg(0))
|
remote, parsedTag := utils.ParseRepositoryTag(cmd.Arg(0))
|
||||||
*tag = parsedTag
|
if *tag == "" {
|
||||||
|
*tag = parsedTag
|
||||||
|
}
|
||||||
|
|
||||||
v := url.Values{}
|
v := url.Values{}
|
||||||
v.Set("fromImage", remote)
|
v.Set("fromImage", remote)
|
||||||
|
|
Loading…
Reference in New Issue