From 5d3b2c077b7c931fb11b3a0ae65c10af6455b190 Mon Sep 17 00:00:00 2001 From: Teingi Date: Thu, 14 Nov 2024 14:11:09 +0800 Subject: [PATCH] Add the missing dependency packages for the 'analyze memory' function --- init_obdiag_cmd.sh | 2 +- requirements3.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/init_obdiag_cmd.sh b/init_obdiag_cmd.sh index 6e914d36..c9d3ca5d 100644 --- a/init_obdiag_cmd.sh +++ b/init_obdiag_cmd.sh @@ -26,7 +26,7 @@ _obdiag_completion() { ;; analyze) if [ "$COMP_CWORD" -eq 2 ]; then - type_list="log flt_trace parameter variable index_space queue" + type_list="log flt_trace parameter variable index_space queue memory" elif [ "${COMP_WORDS[2]}" = "parameter" ] && [ "$COMP_CWORD" -eq 3 ]; then type_list="diff default" elif [ "${COMP_WORDS[2]}" = "variable" ] && [ "$COMP_CWORD" -eq 3 ]; then diff --git a/requirements3.txt b/requirements3.txt index 0fa4ff3a..f180f18a 100644 --- a/requirements3.txt +++ b/requirements3.txt @@ -40,3 +40,4 @@ netifaces==0.11.0 kubernetes==30.1.0 setuptools==65.6.3 pyminizip==0.2.6 +plotly==5.24.1