From 9777b7374bf0c09dcfe5ef0d98813ecff617ea7d Mon Sep 17 00:00:00 2001 From: travisn Date: Tue, 1 Oct 2019 17:30:40 -0600 Subject: [PATCH] ceph: correct log message for watching pools The pools always claimed to be watching all namespaces when in fact only a single namespace is watched for pools. Signed-off-by: travisn --- pkg/operator/ceph/pool/controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/operator/ceph/pool/controller.go b/pkg/operator/ceph/pool/controller.go index caadf36da..8aef767e8 100644 --- a/pkg/operator/ceph/pool/controller.go +++ b/pkg/operator/ceph/pool/controller.go @@ -73,7 +73,7 @@ func (c *PoolController) StartWatch(namespace string, stopCh chan struct{}) erro DeleteFunc: c.onDelete, } - logger.Infof("start watching clusters in all namespaces") + logger.Infof("start watching pools in namespace %s", namespace) watcher := opkit.NewWatcher(PoolResource, namespace, resourceHandlerFuncs, c.context.RookClientset.CephV1().RESTClient()) go watcher.Watch(&cephv1.CephBlockPool{}, stopCh) return nil