summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2021-04-12 14:43:58 -0400
committerMatthew Heon <mheon@redhat.com>2021-04-16 11:25:18 -0400
commitac753308e877824f6094600d36b00cea3aa098b3 (patch)
tree0ee1f838c7a23abfdf7a2e8991be812515ddd38e /pkg
parent443efc6134671aa41fb5b324542f57b4184421fb (diff)
downloadpodman-ac753308e877824f6094600d36b00cea3aa098b3.tar.gz
podman-ac753308e877824f6094600d36b00cea3aa098b3.tar.bz2
podman-ac753308e877824f6094600d36b00cea3aa098b3.zip
Do not delete container twice
10 lines above we had // Set ContainerStateRemoving c.state.State = define.ContainerStateRemoving Which causes the state to not be the two checked states. Since the c.cleanup call already deleted the OCI state, this meant that we were calling cleanup, and hence the postHook hook twice. Fixes: https://github.com/containers/podman/issues/9983 [NO TESTS NEEDED] Since it would be difficult to tests this. Main tests should handle that the container is being deleted successfully. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg')
0 files changed, 0 insertions, 0 deletions