Skip to content

Commit d514a1e

Browse files
ricobergerEric Stroczynski
andauthored
doc: fix log statement in multi namespace example (#4250)
Co-authored-by: Eric Stroczynski <[email protected]>
1 parent 4c684b0 commit d514a1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/content/en/docs/building-operators/golang/operator-scope.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ options := ctrl.Options{
264264
265265
// Add support for MultiNamespace set in WATCH_NAMESPACE (e.g ns1,ns2)
266266
if strings.Contains(watchNamespace, ",") {
267-
setupLog.Infof("manager will be watching namespace %q", watchNamespace)
267+
setupLog.Info("manager set up with multiple namespaces", "namespaces", watchNamespace)
268268
// configure cluster-scoped with MultiNamespacedCacheBuilder
269269
options.Namespace = ""
270270
options.NewCache = cache.MultiNamespacedCacheBuilder(strings.Split(watchNamespace, ","))

0 commit comments

Comments
 (0)