diff options
Diffstat (limited to 'modules/caddytls')
-rw-r--r-- | modules/caddytls/pemloader.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddytls/pemloader.go b/modules/caddytls/pemloader.go index bd95781..61b0885 100644 --- a/modules/caddytls/pemloader.go +++ b/modules/caddytls/pemloader.go @@ -34,7 +34,7 @@ type PEMLoader []CertKeyPEMPair func (PEMLoader) CaddyModule() caddy.ModuleInfo { return caddy.ModuleInfo{ ID: "tls.certificates.load_pem", - New: func() caddy.Module { return PEMLoader{} }, + New: func() caddy.Module { return new(PEMLoader) }, } } |