Skip to content

Commit

Permalink
Rever 2955 as it broke tests.
Browse files Browse the repository at this point in the history
This reverts the relevant parts of 2955, the customizediff changes.
  • Loading branch information
paddycarver committed Jan 22, 2020
1 parent 68ff718 commit ac37418
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,6 @@ func resourceStorageRoleEntityCustomizeDiff(diff *schema.ResourceDiff, meta inte
conf := map[string]struct{}{}
for i := 0; i < count; i++ {
old, new := diff.GetChange(fmt.Sprintf("role_entity.%d", i))

// project-owners- is explicitly stripped from the roles that this
// resource will delete
if strings.Contains(old.(string), "OWNER:project-owners-") {
continue
}

state[old.(string)] = struct{}{}
conf[new.(string)] = struct{}{}
}
Expand Down

0 comments on commit ac37418

Please sign in to comment.