diff --git a/internal/services/webhosting/webhosting_test.go b/internal/services/webhosting/webhosting_test.go index 97af1b3cd..3d79b90c5 100644 --- a/internal/services/webhosting/webhosting_test.go +++ b/internal/services/webhosting/webhosting_test.go @@ -88,7 +88,7 @@ func testAccCheckWebhostingDestroy(tt *acctest.TestTools) resource.TestCheckFunc return err } - res, err := api.GetHosting(&webhostingSDK.GetHostingRequest{ + res, err := api.WaitForHosting(&webhostingSDK.WaitForHostingRequest{ HostingID: id, Region: region, })