Skip to content

Commit

Permalink
Revert 2955 as it broke tests. (GoogleCloudPlatform#3008)
Browse files Browse the repository at this point in the history
  • Loading branch information
paddycarver authored and Nathan Klish committed May 18, 2020
1 parent 0e3af94 commit fe86b33
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion build/inspec
2 changes: 1 addition & 1 deletion build/terraform
2 changes: 1 addition & 1 deletion build/terraform-beta
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 fe86b33

Please sign in to comment.