Skip to content

Commit 5a0af91

Browse files
author
Soroosh Sarabadani
committed
Update the example in the Readme
1 parent e5909fa commit 5a0af91

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ public class Runner {
7878
The Controller implements the business logic and describes all the classes needed to handle the CRD.
7979

8080
```java
81-
@Controller(customResourceClass = WebServer.class,
82-
crdName = "webservers.sample.javaoperatorsdk")
81+
@Controller(crdName = "webservers.sample.javaoperatorsdk")
8382
public class WebServerController implements ResourceController<WebServer> {
8483

8584
@Override

0 commit comments

Comments
 (0)