From 7a4d5bb5147541a9e81195384db510809801e100 Mon Sep 17 00:00:00 2001 From: Steve McQuaid Date: Fri, 1 Oct 2021 15:06:29 -0400 Subject: [PATCH] Fix Tutorial Section 1.2 Missing Colon #2 --- docs/book/src/cronjob-tutorial/testdata/emptymain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/book/src/cronjob-tutorial/testdata/emptymain.go b/docs/book/src/cronjob-tutorial/testdata/emptymain.go index 058beeed58b..a11170f152c 100644 --- a/docs/book/src/cronjob-tutorial/testdata/emptymain.go +++ b/docs/book/src/cronjob-tutorial/testdata/emptymain.go @@ -141,7 +141,7 @@ func main() { var namespaces []string // List of Namespaces - mgr, err = ctrl.NewManager(ctrl.GetConfigOrDie(), ctrl.Options{ + mgr, err := ctrl.NewManager(ctrl.GetConfigOrDie(), ctrl.Options{ Scheme: scheme, NewCache: cache.MultiNamespacedCacheBuilder(namespaces), MetricsBindAddress: fmt.Sprintf("%s:%d", metricsHost, metricsPort),