From 73daebea5f324cd3769f5f2b891d147815813bef Mon Sep 17 00:00:00 2001
From: tombuildsstuff <git@ibuildstuff.co.uk>
Date: Mon, 22 Jan 2018 16:54:00 +0100
Subject: [PATCH] Fixing an invalid cast

---
 azurerm/resource_arm_loadbalancer_backend_address_pool_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/azurerm/resource_arm_loadbalancer_backend_address_pool_test.go b/azurerm/resource_arm_loadbalancer_backend_address_pool_test.go
index a7cc68e65fba3..b7a0780e061e5 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 {