summaryrefslogtreecommitdiff
path: root/pkg/specgenutil/specgen.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-01-21 14:55:26 -0500
committerGitHub <noreply@github.com>2022-01-21 14:55:26 -0500
commitd847ad598d752dad479250b7f289858cc272cb04 (patch)
tree4100d6634ba79d3e55d4f6d79835abc233133ad6 /pkg/specgenutil/specgen.go
parent1e5a4b99ee81164291fd2cf5a25408e641640e97 (diff)
parent5736649eb8eca8b6f1870a1868def188be1467ff (diff)
downloadpodman-d847ad598d752dad479250b7f289858cc272cb04.tar.gz
podman-d847ad598d752dad479250b7f289858cc272cb04.tar.bz2
podman-d847ad598d752dad479250b7f289858cc272cb04.zip
Merge pull request #12961 from rhatdan/codespell
Run codespell
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])