Skip to content

Commit 21a8c7e

Browse files
authored
fix: Update createOrUpdateResource example to reference correct class (#724)
Signed-off-by: Katherine Stanley <[email protected]>
1 parent 6c8a031 commit 21a8c7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public class WebServerController implements ResourceController<WebServer> {
151151

152152
// Return the changed resource, so it gets updated. See javadoc for details.
153153
@Override
154-
public UpdateControl<CustomService> createOrUpdateResource(CustomService resource,
154+
public UpdateControl<WebServer> createOrUpdateResource(WebServer resource,
155155
Context<WebServer> context) {
156156
// ... your logic ...
157157
return UpdateControl.updateStatusSubResource(resource);

0 commit comments

Comments
 (0)