From c9a88c8bc7b3220fa2a5b64e4f7a61bbcb77917f Mon Sep 17 00:00:00 2001 From: Johannes Waigel Date: Sat, 8 Feb 2025 22:47:10 +0000 Subject: [PATCH] fix: using 'false' from configuration and example for lustre --- infrastructure/stacks/storage_stack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/stacks/storage_stack.py b/infrastructure/stacks/storage_stack.py index d1aec72..c216e5b 100644 --- a/infrastructure/stacks/storage_stack.py +++ b/infrastructure/stacks/storage_stack.py @@ -65,7 +65,7 @@ def create_lustre_filesystem( The created Lustre file system and SSM document, or (None, None) if not enabled. """ lustre_enable = self.node.try_get_context("batch-ffmpeg:lustre-fs:enable") - if not lustre_enable: + if str(lustre_enable).lower() == "false": return None, None logging.info("Creating FSx for Lustre file system") lustre_subnet = self.vpc.select_subnets(