summaryrefslogtreecommitdiff
path: root/libpod/container_inspect.go
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2022-06-22 16:37:00 -0400
committerMatthew Heon <mheon@redhat.com>2022-06-23 10:44:38 -0400
commit3a810b8d2ad61a7bdca9b10e183ea7f6708474eb (patch)
tree0a59af988ece1f6d8d1b8dcff462ddaff113bf78 /libpod/container_inspect.go
parent30e7cbccc1942d4f8e3b4f489b9f33f30dec7233 (diff)
downloadpodman-3a810b8d2ad61a7bdca9b10e183ea7f6708474eb.tar.gz
podman-3a810b8d2ad61a7bdca9b10e183ea7f6708474eb.tar.bz2
podman-3a810b8d2ad61a7bdca9b10e183ea7f6708474eb.zip
Two fixes for DB exit code handling
Firstly: don't prune exit codes after a refresh - instead, clear the table entirely. We are guaranteed that all containers are gone after a refresh, we should not worry about exit codes given this. Secondly: alter the way pruning was done. We were updating the DB by calling Update from within an existing View, and stacking an RW transaction on top of an existing RO one seems dodgy; further, modifying a bucket while iterating over it with ForEach is undefined behavior. Hopefully this will resolve our CI issues. Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'libpod/container_inspect.go')
0 files changed, 0 insertions, 0 deletions