mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-01 17:52:40 +00:00
tests: Sort size summary by image size and rootfs size
Sort the table of image sizes by rootfs size after having sorted by image size so that the smaller rootfs images appear before larger ones when the image size is the same. Fixes #178. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
parent
caf485d3da
commit
fc4c23fdbb
@ -120,7 +120,7 @@ show_stats()
|
||||
"Type" \
|
||||
"Name"
|
||||
|
||||
sort -k1,1n "$tmpfile"
|
||||
sort -k1,1n -k3,3n "$tmpfile"
|
||||
|
||||
rm -f "${tmpfile}"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user