mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
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:
commit
3948a2d6ce
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user