mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-11 01:41:54 -04:00
Delete TODO notes (The syntax here is the reverse of the (old, new) pattern in most other validation. Fix this.)
This commit is contained in:
parent
1ba909098e
commit
a7b22e3773
1 changed files with 0 additions and 1 deletions
|
|
@ -1567,7 +1567,6 @@ func validateFinalizerName(stringValue string) errs.ValidationErrorList {
|
|||
|
||||
// ValidateNamespaceUpdate tests to make sure a namespace update can be applied.
|
||||
// newNamespace is updated with fields that cannot be changed
|
||||
// TODO The syntax here is the reverse of the (old, new) pattern in most other validation. Fix this.
|
||||
func ValidateNamespaceUpdate(newNamespace *api.Namespace, oldNamespace *api.Namespace) errs.ValidationErrorList {
|
||||
allErrs := errs.ValidationErrorList{}
|
||||
allErrs = append(allErrs, ValidateObjectMetaUpdate(&newNamespace.ObjectMeta, &oldNamespace.ObjectMeta).Prefix("metadata")...)
|
||||
|
|
|
|||
Loading…
Reference in a new issue