From f15f0d5839479f8511621b88fa4bdcca3b89cc32 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Sat, 14 Sep 2019 18:05:45 -0600 Subject: Eliminate some TODOs --- modules/caddytls/tls.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/caddytls/tls.go') diff --git a/modules/caddytls/tls.go b/modules/caddytls/tls.go index 99d3a5f..df4631c 100644 --- a/modules/caddytls/tls.go +++ b/modules/caddytls/tls.go @@ -71,7 +71,7 @@ func (t *TLS) Provision(ctx caddy.Context) error { return fmt.Errorf("loading TLS automation management module: %s", err) } t.Automation.Policies[i].Management = val.(ManagerMaker) - t.Automation.Policies[i].ManagementRaw = nil // allow GC to deallocate - TODO: Does this help? + t.Automation.Policies[i].ManagementRaw = nil // allow GC to deallocate } // certificate loaders @@ -138,7 +138,7 @@ func (t *TLS) Start() error { return fmt.Errorf("automate: managing %v: %v", names, err) } } - t.Certificates = nil // allow GC to deallocate - TODO: Does this help? + t.Certificates = nil // allow GC to deallocate return nil } -- cgit v1.2.3