Skip to content

Commit

Permalink
add missing nil check
Browse files Browse the repository at this point in the history
  • Loading branch information
brennerm authored and Max Brenner committed Nov 13, 2019
1 parent a55e21b commit b76d319
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions azurerm/resource_arm_app_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,10 @@ func resourceArmAppConfigurationRead(d *schema.ResourceData, meta interface{}) e

values := resultPage.Values()
for _, value := range values {
if &value == nil {
continue
}

accessKey := makeAccessKeyMap(value)

if strings.HasPrefix(*value.Name, "Primary") {
Expand Down

0 comments on commit b76d319

Please sign in to comment.