diff --git a/azurerm/resource_arm_loadbalancer_backend_address_pool_test.go b/azurerm/resource_arm_loadbalancer_backend_address_pool_test.go index a7cc68e65fba..b7a0780e061e 100644 --- a/azurerm/resource_arm_loadbalancer_backend_address_pool_test.go +++ b/azurerm/resource_arm_loadbalancer_backend_address_pool_test.go @@ -142,7 +142,7 @@ func testCheckAzureRMLoadBalancerBackEndAddressPoolNotExists(addressPoolName str func testCheckAzureRMLoadBalancerBackEndAddressPoolDisappears(addressPoolName string, lb *network.LoadBalancer) resource.TestCheckFunc { return func(s *terraform.State) error { client := testAccProvider.Meta().(*ArmClient).loadBalancerClient - ctx := testAccProvider.Meta().(ArmClient).StopContext + ctx := testAccProvider.Meta().(*ArmClient).StopContext _, i, exists := findLoadBalancerBackEndAddressPoolByName(lb, addressPoolName) if !exists {