- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isValidConditionReason (0.23 sec)
-
pkg/apis/storagemigration/validation/validation.go
} if len(condition.Reason) == 0 { allErrs = append(allErrs, field.Required(fldPath.Child("reason"), "must be set")) } else { for _, currErr := range isValidConditionReason(condition.Reason) { allErrs = append(allErrs, field.Invalid(fldPath.Child("reason"), condition.Reason, currErr)) } const maxReasonLen int = 1 * 1024 // 1024 if len(condition.Reason) > maxReasonLen {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 04:18:56 UTC 2024 - 9.5K bytes - Viewed (0)