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)