We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1517d46 + 4b6b82b commit 8ac8453Copy full SHA for 8ac8453
check_kubernetes.sh
@@ -353,7 +353,7 @@ mode_pods() {
353
fi
354
355
for ns in "${namespaces[@]}"; do
356
- nsdata="$(echo "$data" | jq -cr ".items[] | select(.metadata.namespace==\"$ns\")")"
+ nsdata="$(echo "$data" | jq -c -r ".items[] | select(.metadata.namespace==\"$ns\")")"
357
if [ "$NAME" ]; then
358
pods=($(echo "$nsdata" | \
359
jq -r "select(.status.reason!=\"Evicted\" \
@@ -427,7 +427,7 @@ mode_deployments() {
427
428
429
430
431
432
deps=("$NAME")
433
else
0 commit comments