summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-09-11 11:30:05 -0400
committerGitHub <noreply@github.com>2020-09-11 11:30:05 -0400
commitd7db1da7897160e1e90accbf0a178a4da99638a4 (patch)
tree38cf5056056bf5b87b61125c55fc2e6b6f2ceabe /cmd/podman
parent881f2dfe9221a65b0bcac8682dc3add12bfa6077 (diff)
parent526f01cdf59b966b6ec0d35f10cdd95ad1aa2611 (diff)
downloadpodman-d7db1da7897160e1e90accbf0a178a4da99638a4.tar.gz
podman-d7db1da7897160e1e90accbf0a178a4da99638a4.tar.bz2
podman-d7db1da7897160e1e90accbf0a178a4da99638a4.zip
Merge pull request #7600 from rhatdan/codespell
Fix up errors found by codespell
Diffstat (limited to 'cmd/podman')
-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))