summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/httpcache/httpcache.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/caddyhttp/httpcache/httpcache.go')
-rw-r--r--modules/caddyhttp/httpcache/httpcache.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/caddyhttp/httpcache/httpcache.go b/modules/caddyhttp/httpcache/httpcache.go
index b5bc044..81f5816 100644
--- a/modules/caddyhttp/httpcache/httpcache.go
+++ b/modules/caddyhttp/httpcache/httpcache.go
@@ -43,8 +43,8 @@ type Cache struct {
// CaddyModule returns the Caddy module information.
func (Cache) CaddyModule() caddy.ModuleInfo {
return caddy.ModuleInfo{
- Name: "http.handlers.cache",
- New: func() caddy.Module { return new(Cache) },
+ ID: "http.handlers.cache",
+ New: func() caddy.Module { return new(Cache) },
}
}