Skip to content

Commit

Permalink
update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
hbuckle committed Jan 3, 2019
1 parent cc0a5e2 commit 3efa63c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azurerm/resource_arm_firewall_application_rule_collection.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3efa63c

Please sign in to comment.