Skip to content

Commit

Permalink
suppress diff on deprecated boolean var, as it's not used for anything
Browse files Browse the repository at this point in the history
  • Loading branch information
grubernaut committed Jul 5, 2017
1 parent ef864ac commit e794c50
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions github/resource_github_branch_protection.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ func resourceGithubBranchProtection() *schema.Resource {
Optional: true,
Default: false,
Deprecated: "Use enforce_admins instead",
DiffSuppressFunc: func(k, old, new string, d *schema.ResourceData) bool {
return true
},
},
"strict": {
Type: schema.TypeBool,
Expand Down Expand Up @@ -69,6 +72,9 @@ func resourceGithubBranchProtection() *schema.Resource {
Optional: true,
Default: false,
Deprecated: "Use enforce_admins instead",
DiffSuppressFunc: func(k, old, new string, d *schema.ResourceData) bool {
return true
},
},
"dismiss_stale_reviews": {
Type: schema.TypeBool,
Expand Down

0 comments on commit e794c50

Please sign in to comment.