diff options
author | Matthew Heon <mheon@redhat.com> | 2021-02-23 13:55:47 -0500 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2021-02-23 14:05:18 -0500 |
commit | fc32ec768df8a59a9c438f38cf2fd2c08a77f94b (patch) | |
tree | 9f1b73bc58cffba709e5ea9de57120bd904e04ce /libpod/image/parts_test.go | |
parent | 4dfcd585243b1695d36ac2a1a90dcb9818773511 (diff) | |
download | podman-fc32ec768df8a59a9c438f38cf2fd2c08a77f94b.tar.gz podman-fc32ec768df8a59a9c438f38cf2fd2c08a77f94b.tar.bz2 podman-fc32ec768df8a59a9c438f38cf2fd2c08a77f94b.zip |
Sort CapDrop in inspect to guarantee order
The order of CapAdd when inspecting containers is deterministic.
However, the order of CapDrop is not (for unclear reasons). Add a
quick sort on the final array to guarantee a consistent order.
Fixes #9490
Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'libpod/image/parts_test.go')
0 files changed, 0 insertions, 0 deletions