Skip to content

Commit

Permalink
set empty security policy
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisst authored and modular-magician committed Jul 3, 2019
1 parent 9298c8d commit f0739d2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// security_policy isn't set by Create / Update
if v, ok := d.GetOk("security_policy"); ok {
pol, err := ParseSecurityPolicyFieldValue(v.(string), d, config)
if o, n := d.GetChange("security_policy"); o.(string) != n.(string) {
pol, err := ParseSecurityPolicyFieldValue(n.(string), d, config)
if err != nil {
return errwrap.Wrapf("Error parsing Backend Service security policy: {{err}}", err)
}
Expand Down

0 comments on commit f0739d2

Please sign in to comment.