From a7b22e3773a0d6cd0e97a2874c65fa124a4afdcd Mon Sep 17 00:00:00 2001 From: feihujiang Date: Thu, 18 Jun 2015 20:13:17 +0800 Subject: [PATCH] Delete TODO notes (The syntax here is the reverse of the (old, new) pattern in most other validation. Fix this.) --- pkg/api/validation/validation.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/api/validation/validation.go b/pkg/api/validation/validation.go index f7943546954..ea930ec9e0b 100644 --- a/pkg/api/validation/validation.go +++ b/pkg/api/validation/validation.go @@ -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")...)