Merge pull request #107909 from sebastiansterk/master

🤓 simple grammar fix
This commit is contained in:
Kubernetes Prow Robot
2022-02-15 12:15:18 -08:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ func ValidateLeaseSpec(spec *coordination.LeaseSpec, fldPath *field.Path) field.
}
if spec.LeaseTransitions != nil && *spec.LeaseTransitions < 0 {
fld := fldPath.Child("leaseTransitions")
allErrs = append(allErrs, field.Invalid(fld, spec.LeaseTransitions, "must to greater or equal than 0"))
allErrs = append(allErrs, field.Invalid(fld, spec.LeaseTransitions, "must be greater than or equal to 0"))
}
return allErrs
}