drop deprecated validation setting

This commit is contained in:
TheFox0x7
2025-07-07 00:42:44 +02:00
parent 734c2da3ac
commit 6e64232f42

View File

@@ -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 {