Skip to content

Commit 212ee19

Browse files
committed
docs: method naming fix in docs
1 parent b3c04b8 commit 212ee19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/documentation/v2-migration.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ The following items are renamed and slightly changed:
2222
interface is renamed
2323
to [`Reconciler`](https://github.com/java-operator-sdk/java-operator-sdk/blob/main/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/Reconciler.java)
2424
. In addition, methods:
25-
- `createOrUpdate` renamed to `reconcile`
26-
- `delete` renamed to `cleanup`
25+
- `createOrUpdateResource` renamed to `reconcile`
26+
- `deleteResource` renamed to `cleanup`
2727
- Events are removed from
2828
the [`Context`](https://github.com/java-operator-sdk/java-operator-sdk/blob/main/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/Context.java)
2929
of `Reconciler` methods . The rationale behind this, is that there is a consensus now on the pattern that the events

0 commit comments

Comments
 (0)