Skip to content

Commit

Permalink
Add warning that gdpr checks will be skipped when gdpr.host_vendor_id… (
Browse files Browse the repository at this point in the history
  • Loading branch information
bsardo authored and shunj-nb committed Nov 8, 2022
1 parent 16428bb commit f57f676
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,9 @@ func (cfg *GDPR) validate(errs []error) []error {
if cfg.HostVendorID < 0 || cfg.HostVendorID > 0xffff {
errs = append(errs, fmt.Errorf("gdpr.host_vendor_id must be in the range [0, %d]. Got %d", 0xffff, cfg.HostVendorID))
}
if cfg.HostVendorID == 0 {
glog.Warning("gdpr.host_vendor_id was not specified. Host company GDPR checks will be skipped.")
}
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 per-account (gdpr.integration_enabled.amp) or at the host level for the default account (account_defaults.gdpr.integration_enabled.amp).")
}
Expand Down

0 comments on commit f57f676

Please sign in to comment.