Skip to content

Commit

Permalink
Update gdpr.amp_exception warning to include info on how to disable A…
Browse files Browse the repository at this point in the history
…MP GDPR going forward
  • Loading branch information
bsardo committed Dec 9, 2020
1 parent e092516 commit 07b35f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func (cfg *GDPR) validate(errs []error) []error {
errs = append(errs, fmt.Errorf("gdpr.host_vendor_id must be in the range [0, %d]. Got %d", 0xffff, cfg.HostVendorID))
}
if cfg.AMPException == true {
glog.Warning("gdpr.amp_exception is deprecated and will be removed in a future version. If you need to disable GDPR for AMP, you may do so on a per-account basis or disable it for all request types at the host level.")
glog.Warning("gdpr.amp_exception is deprecated and will be removed in a future version. If you need to disable GDPR for AMP, you may do so per-account (gdpr.integration_enabled.amp) or at the host level for the default account (account_defaults.gdpr.integration_enabled.amp).")
}
return errs
}
Expand Down

0 comments on commit 07b35f3

Please sign in to comment.