diff --git a/pkg/kubelet/container/helpers.go b/pkg/kubelet/container/helpers.go index bb14bc560d6..dcdc8979d81 100644 --- a/pkg/kubelet/container/helpers.go +++ b/pkg/kubelet/container/helpers.go @@ -141,7 +141,7 @@ func ExpandContainerCommandOnlyStatic(containerCommand []string, envs []v1.EnvVa return command } -// ExpandContainerVolumeMounts expands the subpath of the given VolumeMount by replacing variable references `with the values of given EnvVar. +// ExpandContainerVolumeMounts expands the subpath of the given VolumeMount by replacing variable references with the values of given EnvVar. func ExpandContainerVolumeMounts(mount v1.VolumeMount, envs []EnvVar) (string, error) { envmap := EnvVarsToMap(envs) diff --git a/pkg/kubelet/container/runtime.go b/pkg/kubelet/container/runtime.go index dda480e2edc..3658e57d415 100644 --- a/pkg/kubelet/container/runtime.go +++ b/pkg/kubelet/container/runtime.go @@ -260,7 +260,7 @@ const ( ContainerStateRunning ContainerState = "running" // ContainerStateExited indicates a container that ran and completed ("stopped" in other contexts, although a created container is technically also "stopped"). ContainerStateExited ContainerState = "exited" - // ContainerStateUnknown encompasses all the states that we currently don't care (like restarting, paused, dead). + // ContainerStateUnknown encompasses all the states that we currently don't care about (like restarting, paused, dead). ContainerStateUnknown ContainerState = "unknown" )