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", [])