simple grammar fix

This commit is contained in:
Sebastian Sterk 2022-02-01 23:59:39 +01:00 committed by GitHub
parent f95c70080f
commit bf4e43b736
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 or equal than 0"))
}
return allErrs
}