mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 06:27:05 +00:00
Merge pull request #54528 from yanxuean/ds-cm-typo
Automatic merge from submit-queue (batch tested with PRs 53747, 54528, 55279, 55251, 55311). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. a typo in dockershim.cm.containerManager.doWork Signed-off-by: yanxuean <yan.xuean@zte.com.cn> **What this PR does / why we need it**: **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ``` /sig node
This commit is contained in:
commit
f47a54e89b
@ -91,7 +91,7 @@ func (m *containerManager) doWork() {
|
|||||||
glog.Errorf("Unable to parse docker version %q: %v", v.APIVersion, err)
|
glog.Errorf("Unable to parse docker version %q: %v", v.APIVersion, err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// EnsureDockerInConatiner does two things.
|
// EnsureDockerInContainer does two things.
|
||||||
// 1. Ensure processes run in the cgroups if m.cgroupsManager is not nil.
|
// 1. Ensure processes run in the cgroups if m.cgroupsManager is not nil.
|
||||||
// 2. Ensure processes have the OOM score applied.
|
// 2. Ensure processes have the OOM score applied.
|
||||||
if err := kubecm.EnsureDockerInContainer(version, dockerOOMScoreAdj, m.cgroupsManager); err != nil {
|
if err := kubecm.EnsureDockerInContainer(version, dockerOOMScoreAdj, m.cgroupsManager); err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user