diff options
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/annotations/annotations.go | 2 | ||||
-rw-r--r-- | pkg/registries/registries.go | 2 | ||||
-rw-r--r-- | pkg/secrets/secrets.go | 2 | ||||
-rw-r--r-- | pkg/spec/ports.go | 2 | ||||
-rw-r--r-- | pkg/varlinkapi/containers.go | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/pkg/annotations/annotations.go b/pkg/annotations/annotations.go index 151d93904..008cca7ee 100644 --- a/pkg/annotations/annotations.go +++ b/pkg/annotations/annotations.go @@ -79,7 +79,7 @@ const ( // StdinOnce is the stdin_once annotation StdinOnce = "io.kubernetes.cri-o.StdinOnce" - // Volumes is the volumes annotatoin + // Volumes is the volumes annotation Volumes = "io.kubernetes.cri-o.Volumes" ) diff --git a/pkg/registries/registries.go b/pkg/registries/registries.go index 8e43c8b91..844d2c415 100644 --- a/pkg/registries/registries.go +++ b/pkg/registries/registries.go @@ -22,7 +22,7 @@ func GetRegistries() ([]string, error) { return searchRegistries, nil } -// GetInsecureRegistries obtains the list of inseure registries from the global registration file. +// GetInsecureRegistries obtains the list of insecure registries from the global registration file. func GetInsecureRegistries() ([]string, error) { registryConfigPath := "" envOverride := os.Getenv("REGISTRIES_CONFIG_PATH") diff --git a/pkg/secrets/secrets.go b/pkg/secrets/secrets.go index 0e48c7a12..1b525de83 100644 --- a/pkg/secrets/secrets.go +++ b/pkg/secrets/secrets.go @@ -237,7 +237,7 @@ func addSecretsFromMountsFile(filePath, mountLabel, containerWorkingDir, mountPr return mounts, nil } -// addFIPSModeSecret creates /run/secrets/system-fips in the container +// addFIPSsModeSecret creates /run/secrets/system-fips in the container // root filesystem if /etc/system-fips exists on hosts. // This enables the container to be FIPS compliant and run openssl in // FIPS mode as the host is also in FIPS mode. diff --git a/pkg/spec/ports.go b/pkg/spec/ports.go index 4d9a625bf..bdd26bd83 100644 --- a/pkg/spec/ports.go +++ b/pkg/spec/ports.go @@ -36,7 +36,7 @@ func ExposedPorts(expose, publish []string, publishAll bool, imageExposedPorts m } } - // parse user input'd port bindings + // parse user inputted port bindings pbPorts, portBindings, err := nat.ParsePortSpecs(publish) if err != nil { return nil, err diff --git a/pkg/varlinkapi/containers.go b/pkg/varlinkapi/containers.go index 43ab3c995..2d3a731e9 100644 --- a/pkg/varlinkapi/containers.go +++ b/pkg/varlinkapi/containers.go @@ -273,7 +273,7 @@ func (i *LibpodAPI) StartContainer(call ioprojectatomicpodman.VarlinkCall, name return call.ReplyErrorOccurred(err.Error()) } if state == libpod.ContainerStateRunning || state == libpod.ContainerStatePaused { - return call.ReplyErrorOccurred("container is alrady running or paused") + return call.ReplyErrorOccurred("container is already running or paused") } if err := ctr.Start(getContext()); err != nil { return call.ReplyErrorOccurred(err.Error()) |