From 3efa63ce2bb581abcd396d6f9982b9f304d30058 Mon Sep 17 00:00:00 2001 From: Henry Buckle Date: Thu, 3 Jan 2019 10:02:49 +0000 Subject: [PATCH] update error message --- azurerm/resource_arm_firewall_application_rule_collection.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azurerm/resource_arm_firewall_application_rule_collection.go b/azurerm/resource_arm_firewall_application_rule_collection.go index 667537a5c14a..560cd3248b40 100644 --- a/azurerm/resource_arm_firewall_application_rule_collection.go +++ b/azurerm/resource_arm_firewall_application_rule_collection.go @@ -138,12 +138,12 @@ func resourceArmFirewallApplicationRuleCollectionCreateUpdate(d *schema.Resource } if firewall.AzureFirewallPropertiesFormat == nil { - return fmt.Errorf("Error expanding Firewall %q (Resource Group %q): `properties` was nil", firewallName, resourceGroup) + return fmt.Errorf("Error retrieving Application Rule Collection %q (Firewall %q / Resource Group %q): `properties` was nil", firewallName, resourceGroup) } props := *firewall.AzureFirewallPropertiesFormat if props.ApplicationRuleCollections == nil { - return fmt.Errorf("Error expanding Firewall %q (Resource Group %q): `properties.ApplicationRuleCollections` was nil", firewallName, resourceGroup) + return fmt.Errorf("Error retrieving Application Rule Collection %q (Firewall %q / Resource Group %q): `properties.ApplicationRuleCollections` was nil", firewallName, resourceGroup) } ruleCollections := *props.ApplicationRuleCollections