diff --git a/data/kata-collect-data.sh.in b/data/kata-collect-data.sh.in index 38d712705b..79ffdabf2b 100644 --- a/data/kata-collect-data.sh.in +++ b/data/kata-collect-data.sh.in @@ -337,11 +337,12 @@ show_container_mgr_details() run_cmd_and_show_quoted_output "" "kubectl version" run_cmd_and_show_quoted_output "" "kubectl config view" run_cmd_and_show_quoted_output "" "systemctl show kubelet" + fi - if have_cmd "crio"; then - run_cmd_and_show_quoted_output "" "crio --version" - run_cmd_and_show_quoted_output "" "systemctl show crio" - fi + if have_cmd "crio"; then + subheading "crio" + run_cmd_and_show_quoted_output "" "crio --version" + run_cmd_and_show_quoted_output "" "systemctl show crio" fi separator