Skip to content

Commit a03b909

Browse files
Updated tutorial readme file. (#83)
I tried to go through the steps and found that one of the methods is removed in the new release of `java-operator-sdk` and due to this facing issues in `Memcached-quarkus-operator`
1 parent 06357b6 commit a03b909

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ mismatch in either of these conditions then we need to do a reconciliation.
351351
|| !CollectionUtils.isEqualCollection(podNames, resource.getStatus().getNodes())) {
352352
if (resource.getStatus() == null) resource.setStatus(new MemcachedStatus());
353353
resource.getStatus().setNodes(podNames);
354-
return UpdateControl.updateStatusSubResource(resource);
354+
return UpdateControl.updateResource(resource);
355355
}
356356
```
357357

@@ -398,7 +398,7 @@ should now look like the following:
398398
|| !CollectionUtils.isEqualCollection(podNames, resource.getStatus().getNodes())) {
399399
if (resource.getStatus() == null) resource.setStatus(new MemcachedStatus());
400400
resource.getStatus().setNodes(podNames);
401-
return UpdateControl.updateStatusSubResource(resource);
401+
return UpdateControl.updateResource(resource);
402402
}
403403
404404
return UpdateControl.noUpdate();

0 commit comments

Comments
 (0)