We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0208f43 commit 69e51f7Copy full SHA for 69e51f7
pkg/builder/example_test.go
@@ -48,11 +48,11 @@ func ExampleBuilder() {
48
os.Exit(1)
49
}
50
51
- _, err = builder.
+ err = builder.
52
ControllerManagedBy(mgr). // Create the ControllerManagedBy
53
For(&appsv1.ReplicaSet{}). // ReplicaSet is the Application API
54
Owns(&corev1.Pod{}). // ReplicaSet owns Pods created by it
55
- Build(&ReplicaSetReconciler{})
+ Complete(&ReplicaSetReconciler{})
56
if err != nil {
57
log.Error(err, "could not create controller")
58
0 commit comments