Skip to content

Commit

Permalink
fix(dbm-services): get disk mount point is empty close #1600
Browse files Browse the repository at this point in the history
  • Loading branch information
ymakedaq authored and zhangzhw8 committed Nov 1, 2023
1 parent 3e955e5 commit a683706
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,12 @@ do
do
# 不采集根目录磁盘的大小
mp=`getMountPoint ${part}`
if [ -z "$mp" ];then
continue
fi
if [ ${mp} == "/" ];then
continue
fi
if [ "$partitioned" = true ];then
sz=`cat ${SYSBLOCK_DIR}/${dname}/${part}/size`
else
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/bk-dbm/charts/db-resource/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: 0.0.1-alpha.49
appVersion: 0.0.1-alpha.51
description: A Helm chart for Kubernetes
name: db-resource
type: application
Expand Down

0 comments on commit a683706

Please sign in to comment.