зеркало из https://github.com/microsoft/docker.git
handle -dev
This commit is contained in:
Родитель
39ff542142
Коммит
0afed3eded
|
@ -436,7 +436,7 @@ func (cli *DockerCli) CmdVersion(args ...string) error {
|
|||
release := utils.GetReleaseVersion()
|
||||
if release != "" {
|
||||
fmt.Fprintf(cli.out, "Last stable version: %s", release)
|
||||
if VERSION != release || out.Version != release {
|
||||
if strings.Trim(VERSION, "-dev") != release || strings.Trim(out.Version, "-dev") != release {
|
||||
fmt.Fprintf(cli.out, ", please update docker")
|
||||
}
|
||||
fmt.Fprintf(cli.out, "\n")
|
||||
|
|
Загрузка…
Ссылка в новой задаче