summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/metrics/metrics.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/metrics/metrics.go b/modules/metrics/metrics.go
index eab6342..eff364e 100644
--- a/modules/metrics/metrics.go
+++ b/modules/metrics/metrics.go
@@ -85,7 +85,7 @@ func (m *Metrics) UnmarshalCaddyfile(d *caddyfile.Dispenser) error {
func (m Metrics) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error {
m.metricsHandler.ServeHTTP(w, r)
- return next.ServeHTTP(w, r)
+ return nil
}
// Interface guards