Skip to content

Commit

Permalink
azurerm_network_ddos_protection_plan - correctly decodes the re… (#3975)
Browse files Browse the repository at this point in the history
Fixes #3974
  • Loading branch information
mcharriere authored and katbyte committed Jul 30, 2019
1 parent 53df3b7 commit 06c596a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azurerm/resource_arm_network_ddos_protection_plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func resourceArmNetworkDDoSProtectionPlanRead(d *schema.ResourceData, meta inter
return err
}
resourceGroup := id.ResourceGroup
name := id.Path["NetworkDDoSProtectionPlans"]
name := id.Path["ddosProtectionPlans"]

plan, err := client.Get(ctx, resourceGroup, name)
if err != nil {
Expand Down Expand Up @@ -161,7 +161,7 @@ func resourceArmNetworkDDoSProtectionPlanDelete(d *schema.ResourceData, meta int
return err
}
resourceGroup := id.ResourceGroup
name := id.Path["NetworkDDoSProtectionPlans"]
name := id.Path["ddosProtectionPlans"]

read, err := client.Get(ctx, resourceGroup, name)
if err != nil {
Expand Down

0 comments on commit 06c596a

Please sign in to comment.