mirror of https://github.com/milvus-io/milvus.git
[skip ci]Fix default log dir name for script (#11378)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>pull/11382/head
parent
38375ee1d3
commit
af9e120663
|
@ -3,7 +3,7 @@ set -e
|
|||
|
||||
ns_name=$1
|
||||
prefix_name=$2
|
||||
log_dir=${3:-"k8s_log"}
|
||||
log_dir=${3:-"k8s_logs"}
|
||||
array=($(kubectl get pod -n ${ns_name}|grep ${prefix_name}|awk '{print $1}'))
|
||||
echo ${array[@]}
|
||||
if [ ! -d $log_dir ];
|
||||
|
|
Loading…
Reference in New Issue