(l string)
| 184 | } |
| 185 | |
| 186 | func checkLabelName(l string) bool { |
| 187 | //nolint:staticcheck // TODO: Don't use deprecated model.NameValidationScheme. |
| 188 | return model.NameValidationScheme.IsValidLabelName(l) && !strings.HasPrefix(l, reservedLabelPrefix) |
| 189 | } |
no outgoing calls
no test coverage detected