diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-01-13 17:59:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-13 17:59:58 +0100 |
commit | e83a1b87da0c2b88ebd69828a79d4b9ecf11b0dc (patch) | |
tree | 190410369b4bcbd12891fcfc1ecbe5bb21ea4050 /cmd/podman/system_prune.go | |
parent | 9e2e4d7615311b38b1e553af32a5666888ef3c96 (diff) | |
parent | 4093b2c0111369f9590d803c53a40b79ae2fd1dd (diff) | |
download | podman-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/system_prune.go')
-rw-r--r-- | cmd/podman/system_prune.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/system_prune.go b/cmd/podman/system_prune.go index 74fdcde99..bbca7b881 100644 --- a/cmd/podman/system_prune.go +++ b/cmd/podman/system_prune.go @@ -63,11 +63,11 @@ WARNING! This will remove: - all dangling images - all build cache Are you sure you want to continue? [y/N] `, volumeString) - ans, err := reader.ReadString('\n') + answer, err := reader.ReadString('\n') if err != nil { return errors.Wrapf(err, "error reading input") } - if strings.ToLower(ans)[0] != 'y' { + if strings.ToLower(answer)[0] != 'y' { return nil } } |