mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 02:41:25 +00:00
Merge pull request #83284 from odinuge/node-e2e-host-reuse
Fix host reuse for e2e tests
This commit is contained in:
commit
2b795b9825
@ -117,7 +117,7 @@ if [ "${remote}" = true ] ; then
|
||||
IFS=',' read -ra IM <<< "${images}"
|
||||
images=""
|
||||
for i in "${IM[@]}"; do
|
||||
if gcloud compute instances list "${instance_prefix}-${i}" | grep "${i}"; then
|
||||
if gcloud compute instances list --project="${project}" --filter="name:'${instance_prefix}-${i}' AND zone:'${zone}'" | grep "${i}"; then
|
||||
if [[ "${hosts}" != "" ]]; then
|
||||
hosts="${hosts},"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user