mirror of
https://github.com/containers/podman.git
synced 2025-06-01 01:00:22 +08:00

Currently, if the container creation failed with either run or create and you've used --pod with new: the pod would be created nonetheless. This change ensures the pod just created is also cleaned up in case of container creation failure Fixes #21228 Signed-off-by: danishprakash <danish.prakash@suse.com>