Skip to content

Commit

Permalink
Update HeadById to CheckExistenceWithGetByID in controller test
Browse files Browse the repository at this point in the history
  • Loading branch information
super-harsh committed Nov 8, 2023
1 parent c0c4203 commit 71bd0c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion v2/specs/azure-rest-api-specs

0 comments on commit 71bd0c4

Please sign in to comment.