Skip to content

Commit b2983b2

Browse files
authored
Merge pull request #1780 from naveensrinivasan/fix/missingscheme
📖 fixes the missing scheme reference in the sample code
2 parents 0489c99 + 667c85c commit b2983b2

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

docs/book/src/cronjob-tutorial/testdata/project/controllers/suite_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ var _ = BeforeSuite(func(done Done) {
116116

117117
err = (&CronJobReconciler{
118118
Client: k8sManager.GetClient(),
119+
Scheme: k8sManager.GetScheme(),
119120
Log: ctrl.Log.WithName("controllers").WithName("CronJob"),
120121
}).SetupWithManager(k8sManager)
121122
Expect(err).ToNot(HaveOccurred())

0 commit comments

Comments
 (0)