summaryrefslogtreecommitdiff
path: root/pkg/specgen/pod_validate.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-12-23 17:38:43 +0100
committerGitHub <noreply@github.com>2020-12-23 17:38:43 +0100
commit54b82a175f16f27849e6791f65bf73eccae4701a (patch)
tree063ba11dfe87b045518793cd2a6f1bcfa3926671 /pkg/specgen/pod_validate.go
parent8544bb57fe5e9222509827a7f5aa648516b9cd98 (diff)
parent4fa1fce930f13d71f39b65bad3f46f61d961ab51 (diff)
downloadpodman-54b82a175f16f27849e6791f65bf73eccae4701a.tar.gz
podman-54b82a175f16f27849e6791f65bf73eccae4701a.tar.bz2
podman-54b82a175f16f27849e6791f65bf73eccae4701a.zip
Merge pull request #8787 from jsoref/spelling
Spelling
Diffstat (limited to 'pkg/specgen/pod_validate.go')
-rw-r--r--pkg/specgen/pod_validate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/specgen/pod_validate.go b/pkg/specgen/pod_validate.go
index a6c61a203..7c81f3f9f 100644
--- a/pkg/specgen/pod_validate.go
+++ b/pkg/specgen/pod_validate.go
@@ -48,7 +48,7 @@ func (p *PodSpecGenerator) Validate() error {
}
if p.NoInfra {
if p.NetNS.NSMode != Default && p.NetNS.NSMode != "" {
- return errors.New("NoInfra and network modes cannot be used toegther")
+ return errors.New("NoInfra and network modes cannot be used together")
}
if p.StaticIP != nil {
return exclusivePodOptions("NoInfra", "StaticIP")