From 570631ebfc067b19c053d96bb33654356955bee7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Castillo=20Lema?= Date: Wed, 26 Jul 2023 18:53:52 +0200 Subject: [PATCH] Widen except (#457) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: José Castillo Lema --- run_kraken.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_kraken.py b/run_kraken.py index af93db8f..f48dbd17 100644 --- a/run_kraken.py +++ b/run_kraken.py @@ -102,7 +102,7 @@ def main(cfg): kubeconfig_path os.environ["KUBECONFIG"] = str(kubeconfig_path) kubecli = KrknLibKubernetes(kubeconfig_path=kubeconfig_path) - except NameError: + except: kubecli.initialize_clients(None) # find node kraken might be running on