aboutsummaryrefslogtreecommitdiff
path: root/pkg/domain/infra
diff options
context:
space:
mode:
authorPaul Holzinger <paul.holzinger@web.de>2020-08-03 22:21:24 +0200
committerPaul Holzinger <paul.holzinger@web.de>2020-08-04 11:39:27 +0200
commit97b2b079532ba983820e259b96ede027b846888b (patch)
treed11b7e2133d8bd8298c26440989531d49703592e /pkg/domain/infra
parent1709335cf04e947117d4ae4dca72f24f4095511b (diff)
downloadpodman-97b2b079532ba983820e259b96ede027b846888b.tar.gz
podman-97b2b079532ba983820e259b96ede027b846888b.tar.bz2
podman-97b2b079532ba983820e259b96ede027b846888b.zip
Improve error message when creating a pod/ctr with the same name
Check if there is an pod or container an return the appropriate error message instead of blindly return 'container exists' with `podman create` and 'pod exists' with `podman pod create`. Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'pkg/domain/infra')
0 files changed, 0 insertions, 0 deletions