From 45abc5303e82914762be04428682046f3e2ccc8d Mon Sep 17 00:00:00 2001 From: Katherine Stanley <11195226+katheris@users.noreply.github.com> Date: Tue, 30 Nov 2021 11:24:52 +0000 Subject: [PATCH] fix: Update createOrUpdateResource example to reference correct class Signed-off-by: Katherine Stanley <11195226+katheris@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d42c45b7a0..f5a0bebe17 100644 --- a/README.md +++ b/README.md @@ -151,7 +151,7 @@ public class WebServerController implements ResourceController { // Return the changed resource, so it gets updated. See javadoc for details. @Override - public UpdateControl createOrUpdateResource(CustomService resource, + public UpdateControl createOrUpdateResource(WebServer resource, Context context) { // ... your logic ... return UpdateControl.updateStatusSubResource(resource);