summaryrefslogtreecommitdiff
path: root/pkg/specgenutil/specgen.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2022-01-21 07:02:54 -0500
committerDaniel J Walsh <dwalsh@redhat.com>2022-01-21 09:52:12 -0500
commit5736649eb8eca8b6f1870a1868def188be1467ff (patch)
tree777de6b2dfc18de27fb5996e8c17469fba4324f5 /pkg/specgenutil/specgen.go
parentc6fd8a421263f5e0386b6f711ea62e68b0188ad6 (diff)
downloadpodman-5736649eb8eca8b6f1870a1868def188be1467ff.tar.gz
podman-5736649eb8eca8b6f1870a1868def188be1467ff.tar.bz2
podman-5736649eb8eca8b6f1870a1868def188be1467ff.zip
Run codespell on code
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/specgenutil/specgen.go')
-rw-r--r--pkg/specgenutil/specgen.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/specgenutil/specgen.go b/pkg/specgenutil/specgen.go
index b6a18a274..8ca7ce4e6 100644
--- a/pkg/specgenutil/specgen.go
+++ b/pkg/specgenutil/specgen.go
@@ -893,7 +893,7 @@ func parseSecrets(secrets []string) ([]specgen.Secret, map[string]string, error)
source = kv[1]
case "type":
if secretType != "" {
- return nil, nil, errors.Wrap(secretParseError, "cannot set more tha one secret type")
+ return nil, nil, errors.Wrap(secretParseError, "cannot set more than one secret type")
}
if kv[1] != "mount" && kv[1] != "env" {
return nil, nil, errors.Wrapf(secretParseError, "type %s is invalid", kv[1])