mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +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:
		@@ -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) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user