summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2018-05-24 17:50:37 -0700
committerAtomic Bot <atomic-devel@projectatomic.io>2018-05-25 08:45:15 +0000
commit684b544e9c45129a3d8112cfab22526440d8fd13 (patch)
tree8aa092161773f0bb171b6e15cffd5d468a1b4b88 /pkg
parenta7180cd5459ca063c14a60965b4487f04c0af439 (diff)
downloadpodman-684b544e9c45129a3d8112cfab22526440d8fd13.tar.gz
podman-684b544e9c45129a3d8112cfab22526440d8fd13.tar.bz2
podman-684b544e9c45129a3d8112cfab22526440d8fd13.zip
Spell check strings and comments
Signed-off-by: Jhon Honce <jhonce@redhat.com> Closes: #831 Approved by: rhatdan
Diffstat (limited to 'pkg')
-rw-r--r--pkg/annotations/annotations.go2
-rw-r--r--pkg/registries/registries.go2
-rw-r--r--pkg/secrets/secrets.go2
-rw-r--r--pkg/spec/ports.go2
-rw-r--r--pkg/varlinkapi/containers.go2
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())