summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/caddylog
diff options
context:
space:
mode:
Diffstat (limited to 'modules/caddyhttp/caddylog')
-rw-r--r--modules/caddyhttp/caddylog/log.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/caddylog/log.go b/modules/caddyhttp/caddylog/log.go
index d3110cc..f39fd87 100644
--- a/modules/caddyhttp/caddylog/log.go
+++ b/modules/caddyhttp/caddylog/log.go
@@ -12,7 +12,7 @@ import (
func init() {
caddy2.RegisterModule(caddy2.Module{
Name: "http.middleware.log",
- New: func() (interface{}, error) { return new(Log), nil },
+ New: func() interface{} { return new(Log) },
})
}