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
|
||||
}
|
||||
|
||||
SubscriberAgreementURL string
|
||||
|
||||
Syslog cmd.SyslogConfig
|
||||
|
||||
Common struct {
|
||||
|
|
@ -97,13 +95,7 @@ func main() {
|
|||
wfe.RA = rac
|
||||
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
|
||||
} else {
|
||||
wfe.SubscriberAgreementURL = c.SubscriberAgreementURL
|
||||
}
|
||||
|
||||
wfe.AllowOrigins = c.WFE.AllowOrigins
|
||||
wfe.AcceptRevocationReason = c.WFE.AcceptRevocationReason
|
||||
wfe.AllowAuthzDeactivation = c.WFE.AllowAuthzDeactivation
|
||||
|
|
|
|||
|
|
@ -54,8 +54,6 @@ type config struct {
|
|||
Features map[string]bool
|
||||
}
|
||||
|
||||
SubscriberAgreementURL string
|
||||
|
||||
Syslog cmd.SyslogConfig
|
||||
|
||||
Common struct {
|
||||
|
|
@ -209,13 +207,7 @@ func main() {
|
|||
wfe.RA = rac
|
||||
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
|
||||
} else {
|
||||
wfe.SubscriberAgreementURL = c.SubscriberAgreementURL
|
||||
}
|
||||
|
||||
wfe.AllowOrigins = c.WFE.AllowOrigins
|
||||
wfe.AcceptRevocationReason = c.WFE.AcceptRevocationReason
|
||||
wfe.AllowAuthzDeactivation = c.WFE.AllowAuthzDeactivation
|
||||
|
|
|
|||
Loading…
Reference in New Issue