Skip to content

Commit

Permalink
add vm name to traverse down the dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
UtahDave committed Sep 18, 2014
1 parent d3763b7 commit 2db03ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/cloud/clouds/ec2.py
Expand Up @@ -1636,7 +1636,7 @@ def start(name, call=None):

log.info('Starting node {0}'.format(name))

instance_id = _get_node(name)['instanceId']
instance_id = _get_node(name)[name]['instanceId']

params = {'Action': 'StartInstances',
'InstanceId.1': instance_id}
Expand Down

0 comments on commit 2db03ca

Please sign in to comment.