Skip to content
Snippets Groups Projects
Commit 42bbe89f authored by Reynold Xin's avatar Reynold Xin
Browse files

Merge pull request #599 from JoshRosen/spark-670

Fix SPARK-670: EC2 'start' command should require -i option.
parents 0f1b7a06 e014c1d1
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ def parse_args():
parser.print_help()
sys.exit(1)
(action, cluster_name) = args
if opts.identity_file == None and action in ['launch', 'login']:
if opts.identity_file == None and action in ['launch', 'login', 'start']:
print >> stderr, ("ERROR: The -i or --identity-file argument is " +
"required for " + action)
sys.exit(1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment