mirror of https://github.com/k3s-io/k3s
Merge pull request #38502 from resouer/fix-wrong-comment
Automatic merge from submit-queue (batch tested with PRs 38154, 38502) Wrong comment to describe docker version The original comment about minimal docker version fo `room_score_adj` is wrong (though the code is right). Really sorry for misleading :/pull/6/head
commit
f49442d433
|
@ -729,7 +729,7 @@ func (dm *DockerManager) runContainer(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// If current api version is newer than docker 1.10 requested, set OomScoreAdj to HostConfig
|
// If current api version is equal to or newer than docker 1.10 requested, set OomScoreAdj to HostConfig
|
||||||
result, err := dm.checkDockerAPIVersion(dockerV110APIVersion)
|
result, err := dm.checkDockerAPIVersion(dockerV110APIVersion)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
glog.Errorf("Failed to check docker api version: %v", err)
|
glog.Errorf("Failed to check docker api version: %v", err)
|
||||||
|
|
Loading…
Reference in New Issue