mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
add vm name to traverse down the dictionary
This commit is contained in:
parent
72a655e67e
commit
fddd78188f
@ -2196,7 +2196,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}
|
||||
|
Loading…
Reference in New Issue
Block a user