зеркало из https://github.com/microsoft/docker.git
Fixed tag option for "docker pull" (the option was ignored)
This commit is contained in:
Родитель
8e6c249e48
Коммит
cd0fef633c
|
@ -821,7 +821,9 @@ func (cli *DockerCli) CmdPull(args ...string) error {
|
|||
}
|
||||
|
||||
remote, parsedTag := utils.ParseRepositoryTag(cmd.Arg(0))
|
||||
*tag = parsedTag
|
||||
if *tag == "" {
|
||||
*tag = parsedTag
|
||||
}
|
||||
|
||||
v := url.Values{}
|
||||
v.Set("fromImage", remote)
|
||||
|
|
Загрузка…
Ссылка в новой задаче