From 8274d7d5ff36837a5f0a9b843ebcec14bbc12b08 Mon Sep 17 00:00:00 2001 From: Alexandru Mahmoud Date: Mon, 8 Jul 2024 12:25:39 -0400 Subject: [PATCH] Linting indentation fix --- lib/galaxy/jobs/runners/kubernetes.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/galaxy/jobs/runners/kubernetes.py b/lib/galaxy/jobs/runners/kubernetes.py index 79a1b13a0c05..32c3169f7e40 100644 --- a/lib/galaxy/jobs/runners/kubernetes.py +++ b/lib/galaxy/jobs/runners/kubernetes.py @@ -532,10 +532,8 @@ def __get_k8s_ingress_spec(self, ajs): ] else: k8s_spec_template["spec"]["tls"] = [ - { - "hosts": [domain], - "secretName": re.sub("[^a-z0-9-]", "-", domain) - } for domain in domains + {"hosts": [domain], + "secretName": re.sub("[^a-z0-9-]", "-", domain)} for domain in domains ] if self.runner_params.get("k8s_interactivetools_ingress_annotations"): new_ann = yaml.safe_load(self.runner_params.get("k8s_interactivetools_ingress_annotations"))