mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 20:09:57 +08:00
[skip ci]Fix default log dir name for script (#11378)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
This commit is contained in:
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
Block a user