mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Merge pull request #83284 from odinuge/node-e2e-host-reuse
Fix host reuse for e2e tests
This commit is contained in:
		@@ -117,7 +117,7 @@ if [ "${remote}" = true ] ; then
 | 
				
			|||||||
  IFS=',' read -ra IM <<< "${images}"
 | 
					  IFS=',' read -ra IM <<< "${images}"
 | 
				
			||||||
       images=""
 | 
					       images=""
 | 
				
			||||||
       for i in "${IM[@]}"; do
 | 
					       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
 | 
					           if [[ "${hosts}" != "" ]]; then
 | 
				
			||||||
             hosts="${hosts},"
 | 
					             hosts="${hosts},"
 | 
				
			||||||
           fi
 | 
					           fi
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user