diff --git a/test/e2e/framework/google_compute.go b/test/e2e/framework/google_compute.go index 5cf336e26a7..726726b397a 100644 --- a/test/e2e/framework/google_compute.go +++ b/test/e2e/framework/google_compute.go @@ -48,7 +48,7 @@ func CreateGCEStaticIP(name string) (string, error) { for attempts := 0; attempts < 4; attempts++ { outputBytes, err = exec.Command("gcloud", "compute", "addresses", "create", name, "--project", TestContext.CloudConfig.ProjectID, - "--region", region, "-q").CombinedOutput() + "--region", region, "-q", "--format=yaml").CombinedOutput() if err == nil { break }