From a8d6a6ef0c2e7d22f9deee23143306e21b6fe66b Mon Sep 17 00:00:00 2001 From: tombuildsstuff Date: Mon, 22 Jul 2019 12:33:24 +0200 Subject: [PATCH] r/app_service_slot: renaming the CreateUpdate method to Create since it's been split --- azurerm/resource_arm_app_service_slot.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azurerm/resource_arm_app_service_slot.go b/azurerm/resource_arm_app_service_slot.go index 9f74cb0111a1..6031c6b93974 100644 --- a/azurerm/resource_arm_app_service_slot.go +++ b/azurerm/resource_arm_app_service_slot.go @@ -14,9 +14,9 @@ import ( func resourceArmAppServiceSlot() *schema.Resource { return &schema.Resource{ - Create: resourceArmAppServiceSlotCreateUpdate, + Create: resourceArmAppServiceSlotCreate, Read: resourceArmAppServiceSlotRead, - Update: resourceArmAppServiceSlotCreateUpdate, + Update: resourceArmAppServiceSlotCreate, Delete: resourceArmAppServiceSlotDelete, Importer: &schema.ResourceImporter{ State: schema.ImportStatePassthrough, @@ -142,7 +142,7 @@ func resourceArmAppServiceSlot() *schema.Resource { } } -func resourceArmAppServiceSlotCreateUpdate(d *schema.ResourceData, meta interface{}) error { +func resourceArmAppServiceSlotCreate(d *schema.ResourceData, meta interface{}) error { client := meta.(*ArmClient).appServicesClient ctx := meta.(*ArmClient).StopContext