Merge pull request #2429 from nishanttotla/add-case-docker-112

Adding case for updating client version, for Docker 1.12
This commit is contained in:
Dongluo Chen 2016-07-23 15:53:26 -07:00 committed by GitHub
commit 8d2748ff6b
1 changed files with 3 additions and 1 deletions

View File

@ -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")
}
}