Skip to content

Commit

Permalink
Fix err declaration shadowing reported by vetshadow linter
Browse files Browse the repository at this point in the history
  • Loading branch information
pdecat committed Dec 21, 2018
1 parent 9e73208 commit 6f0a16e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions azurerm/resource_arm_application_insights_api_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ func resourceArmApplicationInsightsAPIKeyCreate(d *schema.ResourceData, meta int
name := d.Get("name").(string)
appInsightsID := d.Get("application_insights_id").(string)

var err error
id, err := parseAzureResourceID(appInsightsID)
if err != nil {
return err
Expand Down

0 comments on commit 6f0a16e

Please sign in to comment.