summaryrefslogtreecommitdiff
path: root/modules/caddytls
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2021-06-25 11:29:56 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2021-06-25 11:29:56 -0600
commit81e5318021dea884ab1cc92eb47a2a24585e3c5f (patch)
treed62346ef259e11f3f64b1dc618dc9b08bf346909 /modules/caddytls
parentb3d35a4995c98cfadeb0c3a356025dbd3984caef (diff)
caddytls: Remove "IssuerRaw" field
Has been deprecated and printing warnings for about 8 months now. Replaced by "IssuersRaw" field in v2.3.0.
Diffstat (limited to 'modules/caddytls')
-rw-r--r--modules/caddytls/automation.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/modules/caddytls/automation.go b/modules/caddytls/automation.go
index 6ea92af..c4a90a8 100644
--- a/modules/caddytls/automation.go
+++ b/modules/caddytls/automation.go
@@ -89,10 +89,6 @@ type AutomationPolicy struct {
// zerossl.
IssuersRaw []json.RawMessage `json:"issuers,omitempty" caddy:"namespace=tls.issuance inline_key=module"`
- // DEPRECATED: Use `issuers` instead (November 2020). This field will
- // be removed in the future.
- IssuerRaw json.RawMessage `json:"issuer,omitempty" caddy:"namespace=tls.issuance inline_key=module"`
-
// If true, certificates will be requested with MustStaple. Not all
// CAs support this, and there are potentially serious consequences
// of enabling this feature without proper threat modeling.
@@ -180,12 +176,6 @@ func (ap *AutomationPolicy) Provision(tlsApp *TLS) error {
}
}
- // TODO: IssuerRaw field deprecated as of November 2020 - remove this shim after deprecation is complete
- if ap.IssuerRaw != nil {
- tlsApp.logger.Warn("the 'issuer' field is deprecated and will be removed in the future; use 'issuers' instead; your issuer has been appended automatically for now")
- ap.IssuersRaw = append(ap.IssuersRaw, ap.IssuerRaw)
- }
-
// load and provision any explicitly-configured issuer modules
if ap.IssuersRaw != nil {
val, err := tlsApp.ctx.LoadModule(ap, "IssuersRaw")