Remove deprecated SubscriberAgreementURL config field. (#3587)
The outer `config.SubscriberAgreementURL` field has been deprecated for a while in favour of `config.wfe.SubscriberAgreementURL`. After verifying the prod/staging configurations do not use the legacy field this commit removes it.
This commit is contained in:
parent
49400f781c
commit
f3a2fd85bc
|
|
@ -45,8 +45,6 @@ type config struct {
|
||||||
Features map[string]bool
|
Features map[string]bool
|
||||||
}
|
}
|
||||||
|
|
||||||
SubscriberAgreementURL string
|
|
||||||
|
|
||||||
Syslog cmd.SyslogConfig
|
Syslog cmd.SyslogConfig
|
||||||
|
|
||||||
Common struct {
|
Common struct {
|
||||||
|
|
@ -97,13 +95,7 @@ func main() {
|
||||||
wfe.RA = rac
|
wfe.RA = rac
|
||||||
wfe.SA = sac
|
wfe.SA = sac
|
||||||
|
|
||||||
// TODO: remove this check once the production config uses the SubscriberAgreementURL in the wfe section
|
|
||||||
if c.WFE.SubscriberAgreementURL != "" {
|
|
||||||
wfe.SubscriberAgreementURL = c.WFE.SubscriberAgreementURL
|
wfe.SubscriberAgreementURL = c.WFE.SubscriberAgreementURL
|
||||||
} else {
|
|
||||||
wfe.SubscriberAgreementURL = c.SubscriberAgreementURL
|
|
||||||
}
|
|
||||||
|
|
||||||
wfe.AllowOrigins = c.WFE.AllowOrigins
|
wfe.AllowOrigins = c.WFE.AllowOrigins
|
||||||
wfe.AcceptRevocationReason = c.WFE.AcceptRevocationReason
|
wfe.AcceptRevocationReason = c.WFE.AcceptRevocationReason
|
||||||
wfe.AllowAuthzDeactivation = c.WFE.AllowAuthzDeactivation
|
wfe.AllowAuthzDeactivation = c.WFE.AllowAuthzDeactivation
|
||||||
|
|
|
||||||
|
|
@ -54,8 +54,6 @@ type config struct {
|
||||||
Features map[string]bool
|
Features map[string]bool
|
||||||
}
|
}
|
||||||
|
|
||||||
SubscriberAgreementURL string
|
|
||||||
|
|
||||||
Syslog cmd.SyslogConfig
|
Syslog cmd.SyslogConfig
|
||||||
|
|
||||||
Common struct {
|
Common struct {
|
||||||
|
|
@ -209,13 +207,7 @@ func main() {
|
||||||
wfe.RA = rac
|
wfe.RA = rac
|
||||||
wfe.SA = sac
|
wfe.SA = sac
|
||||||
|
|
||||||
// TODO: remove this check once the production config uses the SubscriberAgreementURL in the wfe section
|
|
||||||
if c.WFE.SubscriberAgreementURL != "" {
|
|
||||||
wfe.SubscriberAgreementURL = c.WFE.SubscriberAgreementURL
|
wfe.SubscriberAgreementURL = c.WFE.SubscriberAgreementURL
|
||||||
} else {
|
|
||||||
wfe.SubscriberAgreementURL = c.SubscriberAgreementURL
|
|
||||||
}
|
|
||||||
|
|
||||||
wfe.AllowOrigins = c.WFE.AllowOrigins
|
wfe.AllowOrigins = c.WFE.AllowOrigins
|
||||||
wfe.AcceptRevocationReason = c.WFE.AcceptRevocationReason
|
wfe.AcceptRevocationReason = c.WFE.AcceptRevocationReason
|
||||||
wfe.AllowAuthzDeactivation = c.WFE.AllowAuthzDeactivation
|
wfe.AllowAuthzDeactivation = c.WFE.AllowAuthzDeactivation
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue