mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-21 02:10:56 +00:00
drop deprecated validation setting
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user