Skip to content

Commit 503ac59

Browse files
committed
fix typo in kuberuntime_manager.go
1 parent 8fecbd8 commit 503ac59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/kubelet/kuberuntime/kuberuntime_container.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ func (m *kubeGenericRuntimeManager) killContainer(pod *v1.Pod, containerID kubec
546546
pod, containerSpec = restoredPod, restoredContainer
547547
}
548548

549-
// From this point , pod and container must be non-nil.
549+
// From this point, pod and container must be non-nil.
550550
gracePeriod := int64(minimumGracePeriodInSeconds)
551551
switch {
552552
case pod.DeletionGracePeriodSeconds != nil:

pkg/kubelet/kuberuntime/kuberuntime_manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ type containerToKillInfo struct {
377377
type podActions struct {
378378
// Stop all running (regular and init) containers and the sandbox for the pod.
379379
KillPod bool
380-
// Whether need to create a new sandbox. If needed to kill pod and create a
380+
// Whether need to create a new sandbox. If needed to kill pod and create
381381
// a new pod sandbox, all init containers need to be purged (i.e., removed).
382382
CreateSandbox bool
383383
// The id of existing sandbox. It is used for starting containers in ContainersToStart.

0 commit comments

Comments
 (0)