Skip to content

Commit aff192e

Browse files
committed
fix: revert to use updateStatus for now
It seems like using replaceStatus is causing issues with integration tests. patchStatus would work but this will be discussed in a subsequent issue / PR.
1 parent 29f16b1 commit aff192e

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ public R updateStatus(R resource) {
219219
return resourceOperation
220220
.inNamespace(resource.getMetadata().getNamespace())
221221
.withName(getName(resource))
222-
.replaceStatus(resource);
222+
.updateStatus(resource);
223223
}
224224

225225
public R replaceWithLock(R resource) {

0 commit comments

Comments
 (0)