mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-28 18:38:40 +00:00
Remove commented code
This commit is contained in:
parent
6d83aa6b9e
commit
10e693d318
1 changed files with 0 additions and 8 deletions
|
@ -125,11 +125,3 @@ func TestProcessPatches_RemovePathDoesntExist_IgnoreRemoveFailures_NotEmptyResul
|
|||
assert.Assert(t, len(patchesBytes) == 1)
|
||||
assertEqStringAndData(t, `{"path":"/metadata/labels/label2","op":"add","value":"label2Value"}`, patchesBytes[0])
|
||||
}
|
||||
|
||||
// func TestProcessSamePatch_AddAndRemovePathsDontExist_ContinueOnError_EmptyResult(t *testing.T) {
|
||||
// patch1 := types.PolicyPatch{Path: "/metadata/labels/label3", Operation: "add", Value: "label3Value"}
|
||||
// patches := []types.PolicyPatch{patch1}
|
||||
// patchesBytes, err := ProcessPatches(patches, []byte(endpointsDocument), PatchingSetsContinueAlways)
|
||||
// assert.NilError(t, err)
|
||||
// assert.Assert(t, len(patchesBytes) == 1)
|
||||
// }
|
||||
|
|
Loading…
Add table
Reference in a new issue