aboutsummaryrefslogtreecommitdiffstats
path: root/routers/metrics.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/metrics.go')
-rw-r--r--routers/metrics.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/metrics.go b/routers/metrics.go
index b7711dfced..f2381c2745 100644
--- a/routers/metrics.go
+++ b/routers/metrics.go
@@ -7,10 +7,10 @@ package routers
import (
"crypto/subtle"
- "github.com/prometheus/client_golang/prometheus/promhttp"
-
"code.gitea.io/gitea/modules/context"
"code.gitea.io/gitea/modules/setting"
+
+ "github.com/prometheus/client_golang/prometheus/promhttp"
)
// Metrics validate auth token and render prometheus metrics