From 30f9776e60c78b9569b42319af09c8c9a17c579f Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Mon, 11 Mar 2019 14:14:47 +0000 Subject: [PATCH] scripts: Create separate section for crio in collect script Rather than folding crio under k8s, move it to a separate sub-section. Signed-off-by: James O. D. Hunt --- data/kata-collect-data.sh.in | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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