diff --git a/robusta_krr/core/integrations/kubernetes/__init__.py b/robusta_krr/core/integrations/kubernetes/__init__.py index 46970248..e9fb41dd 100644 --- a/robusta_krr/core/integrations/kubernetes/__init__.py +++ b/robusta_krr/core/integrations/kubernetes/__init__.py @@ -171,8 +171,8 @@ async def _list_workflows( tasks = [ loop.run_in_executor( self.executor, - lambda: namespaced_request( - namespace=namespace, + lambda ns=namespace: namespaced_request( + namespace=ns, watch=False, label_selector=settings.selector, ),