diff --git a/pkg/api/validation/validation.go b/pkg/api/validation/validation.go index 46a8a579e8..16d1c78852 100644 --- a/pkg/api/validation/validation.go +++ b/pkg/api/validation/validation.go @@ -46,7 +46,6 @@ const isNegativeErrorMsg string = `must be non-negative` const fieldImmutableErrorMsg string = `field is immutable` const cIdentifierErrorMsg string = `must be a C identifier (matching regex ` + validation.CIdentifierFmt + `): e.g. "my_name" or "MyName"` const isNotIntegerErrorMsg string = `must be an integer` -const fieldImmutableErrorMsg string = `field is immutable` func IntervalErrorMsg(lo, hi int) string { return fmt.Sprintf(`must be greater than %d and less than %d`, lo, hi)