Merge pull request #88805 from aleksandra-malinowska/gce-multizone-tests

ignore gcloud warning in test framework
This commit is contained in:
Kubernetes Prow Robot 2020-03-17 19:26:41 -07:00 committed by GitHub
commit e5f1048945
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -188,7 +188,7 @@ func (p *Provider) EnsureLoadBalancerResourcesDeleted(ip, portRange string) erro
func getGCEZoneForGroup(group string) (string, error) {
output, err := exec.Command("gcloud", "compute", "instance-groups", "managed", "list",
"--project="+framework.TestContext.CloudConfig.ProjectID, "--format=value(zone)", "--filter=name="+group).CombinedOutput()
"--project="+framework.TestContext.CloudConfig.ProjectID, "--format=value(zone)", "--filter=name="+group).Output()
if err != nil {
return "", fmt.Errorf("Failed to get zone for node group %s: %s", group, output)
}