Skip to content

Commit 67ea87c

Browse files
committed
refactor: use non-deprecated replaceStatus method
1 parent e685c4f commit 67ea87c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/EventDispatcher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ public R updateStatus(R resource) {
227227
return resourceOperation
228228
.inNamespace(resource.getMetadata().getNamespace())
229229
.withName(getName(resource))
230-
.updateStatus(resource);
230+
.replaceStatus(resource);
231231
}
232232

233233
public R replaceWithLock(R resource) {

0 commit comments

Comments
 (0)