summaryrefslogtreecommitdiff
path: root/libpod/state_test.go
diff options
context:
space:
mode:
authorPeter Hunt <pehunt@redhat.com>2019-03-05 13:20:38 -0500
committerPeter Hunt <pehunt@redhat.com>2019-03-06 09:00:18 -0500
commitb4e184a2ac4925d5c86270bf9d19c4eb836c07f8 (patch)
tree99e99186e9b0aef8a45ba003bc7fd656d787bd9b /libpod/state_test.go
parent7418ff988b520466d04cacf6d88b50d67bfa8ddf (diff)
downloadpodman-b4e184a2ac4925d5c86270bf9d19c4eb836c07f8.tar.gz
podman-b4e184a2ac4925d5c86270bf9d19c4eb836c07f8.tar.bz2
podman-b4e184a2ac4925d5c86270bf9d19c4eb836c07f8.zip
Fix incorrect pod create failure
Before, a pod create would fail if it was set to share no namespaces, but had an infra container. While inefficient (you add a container for no reason), it shouldn't be a fatal failure. Fix this by only failing if the pod was set to share namespaces, but had no infra container, and writing a warning if vice versa. Signed-off-by: Peter Hunt <pehunt@redhat.com>
Diffstat (limited to 'libpod/state_test.go')
0 files changed, 0 insertions, 0 deletions