From 92c8d56f1f9f812f2cd12560b29a88306412d7a3 Mon Sep 17 00:00:00 2001 From: The Magician Date: Thu, 19 Mar 2020 17:18:21 -0700 Subject: [PATCH] Ansible - Resource Policy (#3275) (#5934) * resource policy * fixed * rebase issues * finally fixed * async fix Signed-off-by: Modular Magician --- .changelog/3275.txt | 3 +++ google/resource_compute_resource_policy_sweeper_test.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .changelog/3275.txt diff --git a/.changelog/3275.txt b/.changelog/3275.txt new file mode 100644 index 00000000000..8ec013c0699 --- /dev/null +++ b/.changelog/3275.txt @@ -0,0 +1,3 @@ +```release-note:none + +``` diff --git a/google/resource_compute_resource_policy_sweeper_test.go b/google/resource_compute_resource_policy_sweeper_test.go index 5c73bf7715a..8021d095470 100644 --- a/google/resource_compute_resource_policy_sweeper_test.go +++ b/google/resource_compute_resource_policy_sweeper_test.go @@ -69,7 +69,7 @@ func testSweepComputeResourcePolicy(region string) error { return nil } - resourceList, ok := res["resourcePolicies"] + resourceList, ok := res["items"] if !ok { log.Printf("[INFO][SWEEPER_LOG] Nothing found in response.") return nil