mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-25 18:53:44 +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
|
echo "$throttlers" | while read throttler
|
||||||
do
|
do
|
||||||
|
[ -z "$throttler" ] && continue
|
||||||
|
|
||||||
local cmd
|
local cmd
|
||||||
cmd="$throttler --version"
|
cmd="$throttler --version"
|
||||||
run_cmd_and_show_quoted_output "" "$cmd"
|
run_cmd_and_show_quoted_output "" "$cmd"
|
||||||
|
Reference in New Issue
Block a user