From 6c33554aa30899385565cd6548178a017221ab1b Mon Sep 17 00:00:00 2001 From: chronark Date: Tue, 3 Sep 2024 18:00:03 +0200 Subject: [PATCH] refactor(mw_metrics.go): remove unused metricsMW struct --- apps/agent/pkg/api/mw_metrics.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/apps/agent/pkg/api/mw_metrics.go b/apps/agent/pkg/api/mw_metrics.go index 977991e740..67e070a511 100644 --- a/apps/agent/pkg/api/mw_metrics.go +++ b/apps/agent/pkg/api/mw_metrics.go @@ -8,10 +8,6 @@ import ( "github.com/unkeyed/unkey/apps/agent/pkg/prometheus" ) -type metricsMW struct { - status int -} - type responseWriterStatusInterceptor struct { w http.ResponseWriter statusCode int