From 71bd0c4d3d87ca3ce821c1c34a3e6fde057eac99 Mon Sep 17 00:00:00 2001 From: Harshdeep Singh <38904804+super-harsh@users.noreply.github.com> Date: Wed, 8 Nov 2023 20:59:31 +1300 Subject: [PATCH] Update HeadById to CheckExistenceWithGetByID in controller test --- .../controllers/crd_kubernetesconfiguration_extension_test.go | 2 +- v2/specs/azure-rest-api-specs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/v2/internal/controllers/crd_kubernetesconfiguration_extension_test.go b/v2/internal/controllers/crd_kubernetesconfiguration_extension_test.go index c241bc3e0f8..e76aae36e51 100644 --- a/v2/internal/controllers/crd_kubernetesconfiguration_extension_test.go +++ b/v2/internal/controllers/crd_kubernetesconfiguration_extension_test.go @@ -53,7 +53,7 @@ func Test_KubernetesConfiguration_Extension_CRUD(t *testing.T) { tc.DeleteResourceAndWait(extension) // Ensure delete - exists, retryAfter, err := tc.AzureClient.HeadByID(tc.Ctx, armId, string(kubernetesconfiguration.APIVersion_Value)) + exists, retryAfter, err := tc.AzureClient.CheckExistenceWithGetByID(tc.Ctx, armId, string(kubernetesconfiguration.APIVersion_Value)) tc.Expect(err).ToNot(HaveOccurred()) tc.Expect(retryAfter).To(BeZero()) tc.Expect(exists).To(BeFalse()) diff --git a/v2/specs/azure-rest-api-specs b/v2/specs/azure-rest-api-specs index b13bd252f5a..35f8372749c 160000 --- a/v2/specs/azure-rest-api-specs +++ b/v2/specs/azure-rest-api-specs @@ -1 +1 @@ -Subproject commit b13bd252f5a0ae3e870dcd5fb4dc5c1389a7a734 +Subproject commit 35f8372749cbe9b1f69bde0eee3b0bc63c49c2c2