Skip to content

Commit

Permalink
resource_group: bugfix for empty set of members
Browse files Browse the repository at this point in the history
  • Loading branch information
evenh committed Jun 13, 2019
1 parent 5d32e56 commit 500b2a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azuread/resource_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func resourceGroupUpdate(d *schema.ResourceData, meta interface{}) error {
client := meta.(*ArmClient).groupsClient
ctx := meta.(*ArmClient).StopContext

if v, ok := d.GetOk("members"); ok && d.HasChange("members") {
if v, ok := d.GetOkExists("members"); ok && d.HasChange("members") {
existingMembers, err := graph.GroupAllMembers(d.Id(), client, ctx)
if err != nil {
return err
Expand Down

0 comments on commit 500b2a9

Please sign in to comment.