minor correction in comments

This commit is contained in:
Sergey Kanzhelev 2020-05-21 04:15:44 +00:00
parent 4e94144d1e
commit a4bfc732f7
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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"
)