From eac1cf0246d75037bae28d3ba5141f96e99dab9b Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Wed, 14 Feb 2024 15:35:46 -0600 Subject: [PATCH] lint --- stack_orchestrator/deploy/k8s/deploy_k8s.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stack_orchestrator/deploy/k8s/deploy_k8s.py b/stack_orchestrator/deploy/k8s/deploy_k8s.py index eab98810..56fa3f4b 100644 --- a/stack_orchestrator/deploy/k8s/deploy_k8s.py +++ b/stack_orchestrator/deploy/k8s/deploy_k8s.py @@ -95,7 +95,7 @@ class K8sDeployer(Deployer): print("PVs already present:") print(f"{pv_resp}") continue - except: + except: # noqa: E722 pass pv_resp = self.core_api.create_persistent_volume(body=pv) @@ -118,7 +118,7 @@ class K8sDeployer(Deployer): print("PVCs already present:") print(f"{pvc_resp}") continue - except: + except: # noqa: E722 pass pvc_resp = self.core_api.create_namespaced_persistent_volume_claim(body=pvc, namespace=self.k8s_namespace)