From 316d4734ee1c69307f8ef2b87b201428b73721d8 Mon Sep 17 00:00:00 2001 From: James Nugent Date: Wed, 3 Feb 2016 17:11:36 -0500 Subject: [PATCH] provider/azure: Fix destroy check in acctest --- builtin/providers/azure/resource_azure_instance_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/azure/resource_azure_instance_test.go b/builtin/providers/azure/resource_azure_instance_test.go index 51ca0f5eb..a4f1629f8 100644 --- a/builtin/providers/azure/resource_azure_instance_test.go +++ b/builtin/providers/azure/resource_azure_instance_test.go @@ -54,7 +54,7 @@ func TestAccAzureInstance_separateHostedService(t *testing.T) { resource.Test(t, resource.TestCase{ PreCheck: func() { testAccPreCheck(t) }, Providers: testAccProviders, - CheckDestroy: testAccCheckAzureInstanceDestroyed(testAccHostedServiceName), + CheckDestroy: testAccCheckAzureInstanceDestroyed(hostedServiceName), Steps: []resource.TestStep{ resource.TestStep{ Config: config,