mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-23 17:24:18 +01: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:
@@ -120,7 +120,7 @@ show_stats()
|
||||
"Type" \
|
||||
"Name"
|
||||
|
||||
sort -k1,1n "$tmpfile"
|
||||
sort -k1,1n -k3,3n "$tmpfile"
|
||||
|
||||
rm -f "${tmpfile}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user