mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 15:13:08 +00:00
Check if INSTANCE_GROUPS is empty in detect_node_failures.
This commit is contained in:
@@ -435,6 +435,9 @@ function detect_node_failures() {
|
||||
fi
|
||||
|
||||
detect-node-names
|
||||
if [ -z "$INSTANCE_GROUPS" ]; then
|
||||
return
|
||||
fi
|
||||
for group in "${INSTANCE_GROUPS[@]}"; do
|
||||
local creation_timestamp=$(gcloud compute instance-groups managed describe \
|
||||
"${group}" \
|
||||
|
Reference in New Issue
Block a user