Skip to content

Commit 9411c65

Browse files
committed
rename methods
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
1 parent f95e732 commit 9411c65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/PrimaryUpdateAndCacheUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static <P extends HasMetadata> P updateStatusAndCacheResource(
4747
* Patches the status using JSON Merge Patch with optimistic locking and caches the result for
4848
* next reconciliation. For details see {@link #updateAndCacheResource}.
4949
*/
50-
public static <P extends HasMetadata> P patchStatusAndCacheResource(
50+
public static <P extends HasMetadata> P jsonMergePatchStatusAndCacheResource(
5151
P primary, Context<P> context, UnaryOperator<P> modificationFunction) {
5252
return updateAndCacheResource(
5353
primary, context, modificationFunction, r -> context.getClient().resource(r).patchStatus());
@@ -57,7 +57,7 @@ public static <P extends HasMetadata> P patchStatusAndCacheResource(
5757
* Patches the status using JSON Patch with optimistic locking and caches the result for next
5858
* reconciliation. For details see {@link #updateAndCacheResource}.
5959
*/
60-
public static <P extends HasMetadata> P editStatusAndCacheResource(
60+
public static <P extends HasMetadata> P jsonPatchStatusAndCacheResource(
6161
P primary, Context<P> context, UnaryOperator<P> modificationFunction) {
6262
return updateAndCacheResource(
6363
primary,

0 commit comments

Comments
 (0)