Skip to content

Commit

Permalink
bugfix with name option
Browse files Browse the repository at this point in the history
  • Loading branch information
ksindi committed Jun 20, 2016
1 parent d3b8943 commit b934eae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sparksteps/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ def emr_config(release_label, master, slave, num_nodes, keep_alive=False, **kw):
JobFlowRole='EMR_EC2_DefaultRole',
ServiceRole='EMR_DefaultRole',
)
if kw.get('Name'):
config['Name'] = kw.get('Name')
if kw.get('name'):
config['Name'] = kw.get('name')
if kw.get('sparksteps_conf', False):
config['Configurations'] = SPARKSTEPS_CONF
if kw.get('ec2_key'):
Expand Down

0 comments on commit b934eae

Please sign in to comment.