mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-19 00:51:25 +00:00
gofumpt -w -l -extra . (#661)
This commit is contained in:
@@ -24,10 +24,8 @@ import (
|
||||
"github.com/woodpecker-ci/woodpecker/server"
|
||||
)
|
||||
|
||||
var (
|
||||
// errInvalidToken is returned when the api request token is invalid.
|
||||
errInvalidToken = errors.New("Invalid or missing token")
|
||||
)
|
||||
// errInvalidToken is returned when the api request token is invalid.
|
||||
var errInvalidToken = errors.New("Invalid or missing token")
|
||||
|
||||
// PromHandler will pass the call from /api/metrics/prometheus to prometheus
|
||||
func PromHandler() gin.HandlerFunc {
|
||||
|
Reference in New Issue
Block a user