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 <tnielsen@redhat.com>
This commit is contained in:
1 parent
a64b604b4a
commit
9777b7374b
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user