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