Skip to content

Commit 4a3c78c

Browse files
committed
Fix bad check when using RESStackName
It was checking for a stack with the same name as the environment name and flagging an error even though that isn't the stack that it uses.
1 parent 55517db commit 4a3c78c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/cdk/cdk_slurm_stack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ def update_config_for_res(self):
735735
# parameter SharedHomeFileSystemId
736736
logger.setLevel(logging.DEBUG)
737737
logger.debug(f"Searching for RES /home file system")
738-
res_shared_storage_stack_name = f"{self.res_environment_name}"
738+
res_shared_storage_stack_name = res_stack_name
739739
if res_shared_storage_stack_name not in stack_statuses:
740740
message = f"CloudFormation RES stack named {res_shared_storage_stack_name} not found. Existing stacks:"
741741
for stack_name in sorted(stack_statuses):

0 commit comments

Comments
 (0)