mirror of https://github.com/docker/docs.git
Adding case for updating client version, for Docker 1.12
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
This commit is contained in:
parent
2fdb517952
commit
b88763773b
|
@ -442,8 +442,10 @@ func (e *Engine) updateClientVersionFromServer(serverVersion string) {
|
|||
e.apiClient.UpdateClientVersion("1.21")
|
||||
case v.LessThan(version.Version("1.11")):
|
||||
e.apiClient.UpdateClientVersion("1.22")
|
||||
default:
|
||||
case v.LessThan(version.Version("1.12")):
|
||||
e.apiClient.UpdateClientVersion("1.23")
|
||||
default:
|
||||
e.apiClient.UpdateClientVersion("1.24")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue