// ValidateUpdate is the default update validation for an end user. func (namespaceStrategy) ValidateUpdate(ctx api.Context, obj, old runtime.Object) fielderrors.ValidationErrorList { errorList := validation.ValidateNamespace(obj.(*api.Namespace)) return append(errorList, validation.ValidateNamespaceUpdate(obj.(*api.Namespace), old.(*api.Namespace))...) }
// ValidateUpdate is the default update validation for an end user. func (namespaceStrategy) ValidateUpdate(obj, old runtime.Object) errors.ValidationErrorList { return validation.ValidateNamespaceUpdate(obj.(*api.Namespace), old.(*api.Namespace)) }