diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2019-09-14 18:05:45 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2019-09-14 18:05:45 -0600 |
commit | f15f0d5839479f8511621b88fa4bdcca3b89cc32 (patch) | |
tree | c42f522dcaed82c0dbab158c552e255050e1cb8a /modules/caddytls/tls.go | |
parent | e73b117332a5606a986ee7e03e6f4b0cea7871c9 (diff) |
Eliminate some TODOs
Diffstat (limited to 'modules/caddytls/tls.go')
-rw-r--r-- | modules/caddytls/tls.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 } |