Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mkaras-nobl9 committed Jul 13, 2023
1 parent 9d1dabf commit bed124b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manifest/v1alpha/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ const (
var dns1123LabelRegexp = regexp.MustCompile("^" + dns1123LabelFmt + "$")

// IsDNS1123Label tests for a string that conforms to the definition of a label in DNS (RFC 1123).
// nolint:lll
// Source: https://github.com/kubernetes/kubernetes/blob/fdb2cb4c8832da1499069bda918c014762d8ac05/staging/src/k8s.io/apimachinery/pkg/util/validation/validation.go
func IsDNS1123Label(value string) []string {
var errs []string
Expand Down

0 comments on commit bed124b

Please sign in to comment.