all: remove deadcode (#2952)

This commit is contained in:
Kristoffer Dalby
2025-12-10 15:55:15 +01:00
committed by GitHub
parent f3f2d30004
commit 0e1673041c
13 changed files with 3 additions and 301 deletions

View File

@@ -22,10 +22,7 @@ const (
LabelHostnameLength = 63
)
var (
invalidDNSRegex = regexp.MustCompile("[^a-z0-9-.]+")
invalidCharsInUserRegex = regexp.MustCompile("[^a-z0-9-.]+")
)
var invalidDNSRegex = regexp.MustCompile("[^a-z0-9-.]+")
var ErrInvalidHostName = errors.New("invalid hostname")