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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddytls/tls.go b/modules/caddytls/tls.go
index 4743e6b..4e21ade 100644
--- a/modules/caddytls/tls.go
+++ b/modules/caddytls/tls.go
@@ -15,7 +15,7 @@ import (
func init() {
caddy2.RegisterModule(caddy2.Module{
Name: "tls",
- New: func() (interface{}, error) { return new(TLS), nil },
+ New: func() interface{} { return new(TLS) },
})
}