Skip to content

Commit a034811

Browse files
committed
Fix mode_unboundpvs
1 parent 405ff6b commit a034811

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
@@ -227,7 +227,7 @@ mode_components() {
227227

228228
mode_unboundpvs() {
229229
CRIT=${CRIT:-5}
230-
data=$(getJSON "get pvs" "api/v1/persistentvolumes")
230+
data=$(getJSON "get pv" "api/v1/persistentvolumes")
231231
[ $? -gt 0 ] && die "$data"
232232
declare -A pvsArr unboundPvsArr
233233
while IFS="=" read -r key value; do

0 commit comments

Comments
 (0)