mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-25 10:43:15 +00:00
runtime: Ignore empty throttlers in collect script
Fix bug by ignoring empty throttlers in the data collection script. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
@@ -658,6 +658,8 @@ show_throttler_details()
|
||||
|
||||
echo "$throttlers" | while read throttler
|
||||
do
|
||||
[ -z "$throttler" ] && continue
|
||||
|
||||
local cmd
|
||||
cmd="$throttler --version"
|
||||
run_cmd_and_show_quoted_output "" "$cmd"
|
||||
|
Reference in New Issue
Block a user