From 91a773a443c8fdfe610ea79efc8b4541b15d61b0 Mon Sep 17 00:00:00 2001 From: Laxmikant Bhaskar Pandhare <47066536+laxmikantbpandhare@users.noreply.github.com> Date: Thu, 19 May 2022 14:46:07 -0700 Subject: [PATCH] Updated tutorial readme file. 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` --- docs/tutorial.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorial.md b/docs/tutorial.md index d35f9e8..99a20d5 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -351,7 +351,7 @@ mismatch in either of these conditions then we need to do a reconciliation. || !CollectionUtils.isEqualCollection(podNames, resource.getStatus().getNodes())) { if (resource.getStatus() == null) resource.setStatus(new MemcachedStatus()); resource.getStatus().setNodes(podNames); - return UpdateControl.updateStatusSubResource(resource); + return UpdateControl.updateResource(resource); } ``` @@ -398,7 +398,7 @@ should now look like the following: || !CollectionUtils.isEqualCollection(podNames, resource.getStatus().getNodes())) { if (resource.getStatus() == null) resource.setStatus(new MemcachedStatus()); resource.getStatus().setNodes(podNames); - return UpdateControl.updateStatusSubResource(resource); + return UpdateControl.updateResource(resource); } return UpdateControl.noUpdate();