summaryrefslogtreecommitdiff
path: root/cmd/podman/errors_remote.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-01-13 17:59:58 +0100
committerGitHub <noreply@github.com>2020-01-13 17:59:58 +0100
commite83a1b87da0c2b88ebd69828a79d4b9ecf11b0dc (patch)
tree190410369b4bcbd12891fcfc1ecbe5bb21ea4050 /cmd/podman/errors_remote.go
parent9e2e4d7615311b38b1e553af32a5666888ef3c96 (diff)
parent4093b2c0111369f9590d803c53a40b79ae2fd1dd (diff)
downloadpodman-e83a1b87da0c2b88ebd69828a79d4b9ecf11b0dc.tar.gz
podman-e83a1b87da0c2b88ebd69828a79d4b9ecf11b0dc.tar.bz2
podman-e83a1b87da0c2b88ebd69828a79d4b9ecf11b0dc.zip
Merge pull request #4817 from rhatdan/codespell
Add codespell to validate spelling mistakes in code.
Diffstat (limited to 'cmd/podman/errors_remote.go')
-rw-r--r--cmd/podman/errors_remote.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/errors_remote.go b/cmd/podman/errors_remote.go
index 19df2d2d8..378f9398f 100644
--- a/cmd/podman/errors_remote.go
+++ b/cmd/podman/errors_remote.go
@@ -25,7 +25,7 @@ func outputError(err error) {
}
var ne error
switch e := err.(type) {
- // For some reason golang wont let me list them with commas so listing them all.
+ // For some reason golang won't let me list them with commas so listing them all.
case *iopodman.ImageNotFound:
ne = errors.New(e.Reason)
case *iopodman.ContainerNotFound:
@@ -48,7 +48,7 @@ func outputError(err error) {
func setExitCode(err error) int {
cause := errors.Cause(err)
switch e := cause.(type) {
- // For some reason golang wont let me list them with commas so listing them all.
+ // For some reason golang won't let me list them with commas so listing them all.
case *iopodman.ContainerNotFound:
return 1
case *iopodman.InvalidState: