Skip to content

Commit

Permalink
addressing PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
katbyte committed Aug 9, 2018
1 parent 9a2f801 commit 0022001
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion azurerm/resource_arm_loadbalancer_probe.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,9 @@ func resourceArmLoadBalancerProbeRead(d *schema.ResourceData, meta interface{})
load_balancer_rules = append(load_balancer_rules, *ruleConfig.ID)
}
}
d.Set("load_balancer_rules", load_balancer_rules)
if err := d.Set("load_balancer_rules", load_balancer_rules); err != nil {
return fmt.Errorf("Error setting `load_balancer_rules` (Load Balancer Probe %q): %+v", name, err)
}

return nil
}
Expand Down

0 comments on commit 0022001

Please sign in to comment.