Merge pull request #55115 from CaoShuFeng/crd_test
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. [trival]remove duplicated code from unit test **Release note**: ``` NONE ``` Kubernetes-commit: 462d5ed1067d14f68c4bdaeb9469c37eab0172ea
This commit is contained in:
commit
d5c7d449a9
File diff suppressed because it is too large
Load Diff
|
|
@ -310,9 +310,6 @@ func (tc *patchTestCase) Run(t *testing.T) {
|
|||
|
||||
patch := []byte{}
|
||||
switch patchType {
|
||||
case types.JSONPatchType:
|
||||
continue
|
||||
|
||||
case types.StrategicMergePatchType:
|
||||
patch, err = strategicpatch.CreateTwoWayMergePatch(originalObjJS, changedJS, versionedObj)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in New Issue