mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-16 11:03:04 +02:00
drop deprecated validation setting
This commit is contained in:
parent
734c2da3ac
commit
6e64232f42
@ -11,15 +11,10 @@ import (
|
||||
"code.gitea.io/gitea/modules/setting"
|
||||
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
"github.com/prometheus/common/model"
|
||||
)
|
||||
|
||||
const namespace = "gitea_"
|
||||
|
||||
func init() {
|
||||
model.NameValidationScheme = model.UTF8Validation
|
||||
}
|
||||
|
||||
// Collector implements the prometheus.Collector interface and
|
||||
// exposes gitea metrics for prometheus
|
||||
type Collector struct {
|
||||
|
Loading…
x
Reference in New Issue
Block a user