summaryrefslogtreecommitdiff
path: root/pkg/specgen/pod_validate.go
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-04-13 10:53:24 -0500
committerBrent Baude <bbaude@redhat.com>2020-04-13 13:08:04 -0500
commit90ead05903e9c42758c1052c2ee623dca8de5e98 (patch)
tree60fc9e4b574c4b2d927c62907e27e7902440a51f /pkg/specgen/pod_validate.go
parent465b4bc563b274ec166868aae079a65ee0284b1d (diff)
downloadpodman-90ead05903e9c42758c1052c2ee623dca8de5e98.tar.gz
podman-90ead05903e9c42758c1052c2ee623dca8de5e98.tar.bz2
podman-90ead05903e9c42758c1052c2ee623dca8de5e98.zip
Fixes for load and other system tests
Signed-off-by: Brent Baude <bbaude@redhat.com>
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 50309f096..92026309f 100644
--- a/pkg/specgen/pod_validate.go
+++ b/pkg/specgen/pod_validate.go
@@ -25,7 +25,7 @@ func (p *PodSpecGenerator) validate() error {
return exclusivePodOptions("NoInfra", "InfraImage")
}
if len(p.SharedNamespaces) > 0 {
- return exclusivePodOptions("NoInfo", "SharedNamespaces")
+ return exclusivePodOptions("NoInfra", "SharedNamespaces")
}
}