The code and comment does not match in Docker version in ipam_driver.go
// Default to Docker API Version corresponding to Docker v1.10
if os.Getenv("DOCKER_API_VERSION") == "" {
if err = os.Setenv("DOCKER_API_VERSION", "1.22"); err != nil {
logrus.Infof("Cannot set default Docker API Version: '%s'", err)
os.Exit(1)
}
}
The code and comment does not match in Docker version in ipam_driver.go
// Default to Docker API Version corresponding to Docker v1.10 if os.Getenv("DOCKER_API_VERSION") == "" { if err = os.Setenv("DOCKER_API_VERSION", "1.22"); err != nil { logrus.Infof("Cannot set default Docker API Version: '%s'", err) os.Exit(1) } }