summaryrefslogtreecommitdiff
path: root/modules/caddytls/tls.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/caddytls/tls.go')
-rw-r--r--modules/caddytls/tls.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/caddytls/tls.go b/modules/caddytls/tls.go
index 93a05be..bbcf61e 100644
--- a/modules/caddytls/tls.go
+++ b/modules/caddytls/tls.go
@@ -197,9 +197,7 @@ func (t *TLS) getAutomationPolicyForName(name string) AutomationPolicy {
}
// default automation policy
- mgmt := new(ACMEManagerMaker)
- mgmt.SetDefaults()
- return AutomationPolicy{Management: mgmt}
+ return AutomationPolicy{Management: new(ACMEManagerMaker)}
}
// CertificatesWithSAN returns the list of all certificates