Merge pull request #45873 from YuPengZTE/devValidateUpdate

Automatic merge from submit-queue

delete the code after "return"

Signed-off-by: yupengzte <yu.peng36@zte.com.cn>



**What this PR does / why we need it**:
After return, the code is unreachable, delete it.
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:

**Release note**:

```release-note
```
This commit is contained in:
Kubernetes Submit Queue 2017-05-16 01:48:23 -07:00 committed by GitHub
commit 3948a2d6ce

View File

@ -81,8 +81,6 @@ func (CustomResourceDefinitionStorageStrategy) ValidateUpdate(ctx genericapirequ
}
return validation.ValidateObjectMetaAccessorUpdate(objAccessor, oldAccessor, field.NewPath("metadata"))
return field.ErrorList{}
}
func (a CustomResourceDefinitionStorageStrategy) GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error) {