typofix - https://github.com/vlajos/misspell_fixer
This commit is contained in:
@@ -221,7 +221,7 @@ func ValidateObjectMeta(meta *api.ObjectMeta, requiresNamespace bool, nameFn Val
|
||||
}
|
||||
// If the generated name validates, but the calculated value does not, it's a problem with generation, and we
|
||||
// report it here. This may confuse users, but indicates a programming bug and still must be validated.
|
||||
// If there are multiple fields out of which one is required then add a or as a seperator
|
||||
// If there are multiple fields out of which one is required then add a or as a separator
|
||||
if len(meta.Name) == 0 {
|
||||
allErrs = append(allErrs, errs.NewFieldRequired("name or generateName"))
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user