Skip to content

Commit 6bb9939

Browse files
dataproc use v1 only (#7002) (#13311)
* move dataproc to v1 * use dataproc v1 in util/config * remove remainning v1beta2 API * fix * fix2 * clean up all version gaurd * fix test * rerun * rerun * rerun tests Signed-off-by: Modular Magician <[email protected]> Signed-off-by: Modular Magician <[email protected]>
1 parent f1499bf commit 6bb9939

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.changelog/7002.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
dataproc: deprecate the v1beta2 API.
3+
```

google/resource_dataproc_cluster_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -707,8 +707,8 @@ func TestAccDataprocCluster_withLabels(t *testing.T) {
707707
Check: resource.ComposeTestCheckFunc(
708708
testAccCheckDataprocClusterExists(t, "google_dataproc_cluster.with_labels", &cluster),
709709

710-
// We only provide one, but GCP adds three, so expect 4.
711-
resource.TestCheckResourceAttr("google_dataproc_cluster.with_labels", "labels.%", "4"),
710+
// We only provide one, but GCP adds three and we added goog-dataproc-autozone internally, so expect 5.
711+
resource.TestCheckResourceAttr("google_dataproc_cluster.with_labels", "labels.%", "5"),
712712
resource.TestCheckResourceAttr("google_dataproc_cluster.with_labels", "labels.key1", "value1"),
713713
),
714714
},

0 commit comments

Comments
 (0)