Skip to content

Commit 9025022

Browse files
author
Kubernetes Submit Queue
authored
Merge pull request kubernetes#44428 from qiujian16/commenttypo
Automatic merge from submit-queue Fix some typo of comment in kubelet.go **What this PR does / why we need it**: The PR is to fix some typo in kubelet.go **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # N/A **Special notes for your reviewer**: **Release note**: ```release-note ```
2 parents 95a6f10 + b0a415e commit 9025022

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/kubelet/kubelet.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1396,12 +1396,12 @@ func (kl *Kubelet) syncPod(o syncPodOptions) error {
13961396
}
13971397

13981398
// Create Cgroups for the pod and apply resource parameters
1399-
// to them if cgroup-per-qos flag is enabled.
1399+
// to them if cgroups-per-qos flag is enabled.
14001400
pcm := kl.containerManager.NewPodContainerManager()
14011401
// If pod has already been terminated then we need not create
14021402
// or update the pod's cgroup
14031403
if !kl.podIsTerminated(pod) {
1404-
// When the kubelet is restarted with the cgroup-per-qos
1404+
// When the kubelet is restarted with the cgroups-per-qos
14051405
// flag enabled, all the pod's running containers
14061406
// should be killed intermittently and brought back up
14071407
// under the qos cgroup hierarchy.

0 commit comments

Comments
 (0)