summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-09-11 06:12:58 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-09-11 06:14:25 -0400
commit526f01cdf59b966b6ec0d35f10cdd95ad1aa2611 (patch)
treeac8d7469048c27a0c55a15caa00dedbe3dd76520 /cmd
parent397de44d487e25b5820777fcbab9728cf2af5e14 (diff)
downloadpodman-526f01cdf59b966b6ec0d35f10cdd95ad1aa2611.tar.gz
podman-526f01cdf59b966b6ec0d35f10cdd95ad1aa2611.tar.bz2
podman-526f01cdf59b966b6ec0d35f10cdd95ad1aa2611.zip
Fix up errors found by codespell
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/auto-update.go2
-rw-r--r--cmd/podman/containers/create.go2
-rw-r--r--cmd/podman/containers/ps.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/cmd/podman/auto-update.go b/cmd/podman/auto-update.go
index 8e17b49e0..677266c83 100644
--- a/cmd/podman/auto-update.go
+++ b/cmd/podman/auto-update.go
@@ -41,7 +41,7 @@ func init() {
func autoUpdate(cmd *cobra.Command, args []string) error {
if len(args) > 0 {
- // Backwards compat. System tests expext this error string.
+ // Backwards compat. System tests expect this error string.
return errors.Errorf("`%s` takes no arguments", cmd.CommandPath())
}
report, failures := registry.ContainerEngine().AutoUpdate(registry.GetContext(), autoUpdateOptions)
diff --git a/cmd/podman/containers/create.go b/cmd/podman/containers/create.go
index 5e48aa622..f9d33a223 100644
--- a/cmd/podman/containers/create.go
+++ b/cmd/podman/containers/create.go
@@ -235,7 +235,7 @@ func pullImage(imageName string) (string, error) {
imageRef, err := alltransports.ParseImageName(imageName)
switch {
case err != nil:
- // Assume we specified a local image withouth the explicit storage transport.
+ // Assume we specified a local image without the explicit storage transport.
fallthrough
case imageRef.Transport().Name() == storage.Transport.Name():
diff --git a/cmd/podman/containers/ps.go b/cmd/podman/containers/ps.go
index 2aa3b3a9b..a78b35c08 100644
--- a/cmd/podman/containers/ps.go
+++ b/cmd/podman/containers/ps.go
@@ -414,7 +414,7 @@ func portsToString(ports []ocicni.PortMapping) string {
continue
}
}
- // For each portMapKey, format group list and appned to output string.
+ // For each portMapKey, format group list and append to output string.
for _, portKey := range groupKeyList {
group := portGroupMap[portKey]
portDisplay = append(portDisplay, formatGroup(portKey, group.first, group.last))