Skip to content

Commit f7a7828

Browse files
authored
Update check_kubernetes.sh
no output with pvc_count. Uppercase PVC_COUNT is right
1 parent 19c65d8 commit f7a7828

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check_kubernetes.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ mode_pvc() {
323323
done
324324

325325
if [ "$WARN_ERROR" -eq "0" ] && [ "$CRIT_ERROR" -eq "0" ]; then
326-
echo "OK. No problem on $pvc_count pvc storage"
326+
echo "OK. No problem on $PVC_COUNT pvc storage"
327327
elif [ "$WARN_ERROR" -ne "0" ] && [ "$CRIT_ERROR" -eq "0" ]; then
328328
exit 1
329329
elif [ "$CRIT_ERROR" -ne "0" ]; then

0 commit comments

Comments
 (0)