Skip to content

Commit

Permalink
Get config section before listing instances
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Smith <seaam@amazon.com>
  • Loading branch information
sean-smith authored and demartinofra committed Nov 20, 2018
1 parent f32de53 commit 0f87a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/pcluster/cfnconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def __init__(self, args):
self.aws_secret_access_key=None

# Determine which cluster template will be used
if __args_func in ['start', 'stop']:
if __args_func in ['start', 'stop', 'instances']:
# Starting and stopping a cluster is unique in that we would want to prevent the
# customer from inadvertently using a different template than what
# the cluster was created with, so we do not support the -t
Expand Down

0 comments on commit 0f87a62

Please sign in to comment.