Commit 7daa26e5 authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #24162 from jlowdermilk/fix-log-dump

Automatic merge from submit-queue Fix log dump for new gcloud `gcloud compute instance-groups managed list-instances` at CI has self-link for instance instead of just name. Fixes #24120
parents 04df711a f8c135dc
......@@ -236,6 +236,9 @@ function detect-node-names {
"${NODE_INSTANCE_GROUP}" --zone "${ZONE}" --project "${PROJECT}" \
--format=yaml | grep instance: | cut -d ' ' -f 2))
# Strip path if return value is selflink
NODE_NAMES=($(for i in ${NODE_NAMES[@]}; do basename "$i"; done))
echo "NODE_NAMES=${NODE_NAMES[*]}"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment