Skip to content

Commit ec64d0c

Browse files
Sean Smithsean-smith
authored andcommitted
Make stop use correct cluster section
Signed-off-by: Sean Smith <[email protected]>
1 parent c3d2024 commit ec64d0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/pcluster/cfnconfig.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@ def __init__(self, args):
212212
self.aws_secret_access_key=None
213213

214214
# Determine which cluster template will be used
215-
if __args_func == 'start':
216-
# Starting a cluster is unique in that we would want to prevent the
215+
if __args_func in ['start', 'stop']:
216+
# Starting and stopping a cluster is unique in that we would want to prevent the
217217
# customer from inadvertently using a different template than what
218218
# the cluster was created with, so we do not support the -t
219219
# parameter. We always get the template to use from CloudFormation.

0 commit comments

Comments
 (0)