kubelet: Update FakeDockerClient used in integration tests

This updates the mock for the docker client used in integration tests to
include the engine version in its VersionInfo response.
pull/6/head
Ken Robertson 2016-01-22 17:14:01 -08:00
parent fff8a7c371
commit 66c99d5e9c
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ func getDockerClient(dockerEndpoint string) (*docker.Client, error) {
func ConnectToDockerOrDie(dockerEndpoint string) DockerInterface {
if dockerEndpoint == "fake://" {
return &FakeDockerClient{
VersionInfo: docker.Env{"ApiVersion=1.18"},
VersionInfo: docker.Env{"ApiVersion=1.18", "Version=1.6.0"},
}
}
client, err := getDockerClient(dockerEndpoint)