Skip to content

Commit 30717ac

Browse files
author
Mengqi Yu
committed
📖 add the missing scheme back
1 parent 94c206b commit 30717ac

File tree

1 file changed

+1
-0
lines changed
  • docs/book/src/cronjob-tutorial/testdata/project

1 file changed

+1
-0
lines changed

docs/book/src/cronjob-tutorial/testdata/project/main.go

+1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ func main() {
8686
if err = (&controllers.CronJobReconciler{
8787
Client: mgr.GetClient(),
8888
Log: ctrl.Log.WithName("controllers").WithName("Captain"),
89+
Scheme: mgr.GetScheme(), // we've added this ourselves
8990
}).SetupWithManager(mgr); err != nil {
9091
setupLog.Error(err, "unable to create controller", "controller", "Captain")
9192
os.Exit(1)

0 commit comments

Comments
 (0)