From 3c7ff76a8376dae2aabd8b5d1b219ac7fce28ece Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Mon, 4 Mar 2024 17:09:11 -0600 Subject: [PATCH] fmt --- stack_orchestrator/deploy/spec.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stack_orchestrator/deploy/spec.py b/stack_orchestrator/deploy/spec.py index dbae0539..8c2f37ea 100644 --- a/stack_orchestrator/deploy/spec.py +++ b/stack_orchestrator/deploy/spec.py @@ -121,8 +121,7 @@ class Spec: return self.obj.get(constants.labels_key, {}) def get_privileged(self): - return "true" == str(self.obj.get(constants.security_key, {}) - .get("privileged", "false")).lower() + return "true" == str(self.obj.get(constants.security_key, {}).get("privileged", "false")).lower() def get_capabilities(self): return self.obj.get(constants.security_key, {}).get("capabilities", [])