Skip to content

Commit

Permalink
doc: add info for 015-fix-replace-op-for-evanphx-json-patch-v5-lib
Browse files Browse the repository at this point in the history
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
  • Loading branch information
universal-itengineer committed Oct 11, 2024
1 parent 5842f37 commit 90fabbb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions images/cdi-artifact/patches/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,16 @@ CDI can currently upload virtual machine images to persistent volumes (PVCs). Re
#### `014-delete-service-monitor.patch`

Removed the creation of a service monitor from the cdi-operator.

#### `015-fix-replace-op-for-evanphx-json-patch-v5-lib.patch`

Fix JSON patch replace operation behaviour: set value even if path is not exist.

Why we needed it?

Previous CDI version uses evanphx-json-patch version 5.6.0+incompatible.
That version ignores non-existent path and it actually a v4 from main branch.

CDI 1.60.3 uses evanphx-json-patch /v5 version, which has options to change
the behaviour for add and remove operations, but there is no option
to change behaviour for the replace operation.

0 comments on commit 90fabbb

Please sign in to comment.