From a4bfc732f7fdb60429cb247f3c7f45d7b0941854 Mon Sep 17 00:00:00 2001 From: Sergey Kanzhelev Date: Thu, 21 May 2020 04:15:44 +0000 Subject: [PATCH] minor correction in comments --- pkg/kubelet/container/helpers.go | 2 +- pkg/kubelet/container/runtime.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" )