diff options
Diffstat (limited to 'modules/caddyhttp/table.go')
-rw-r--r-- | modules/caddyhttp/table.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/caddyhttp/table.go b/modules/caddyhttp/table.go index 8c3ebe0..fce4267 100644 --- a/modules/caddyhttp/table.go +++ b/modules/caddyhttp/table.go @@ -9,12 +9,12 @@ import ( func init() { caddy2.RegisterModule(caddy2.Module{ Name: "http.middleware.table", - New: func() (interface{}, error) { return new(tableMiddleware), nil }, + New: func() interface{} { return new(tableMiddleware) }, }) caddy2.RegisterModule(caddy2.Module{ Name: "http.matchers.table", - New: func() (interface{}, error) { return new(tableMatcher), nil }, + New: func() interface{} { return new(tableMatcher) }, }) } |