mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Make sure list_nodes_full contains a name attribute
This commit is contained in:
parent
c9255f2bbd
commit
fcd467d01b
@ -3076,6 +3076,7 @@ def _extract_instance_info(instances):
|
||||
for item in instance['instancesSet']['item']:
|
||||
name = _extract_name_tag(item)
|
||||
ret[name] = item
|
||||
ret[name]['name'] = name
|
||||
ret[name].update(
|
||||
dict(
|
||||
id=item['instanceId'],
|
||||
@ -3090,6 +3091,7 @@ def _extract_instance_info(instances):
|
||||
item = instance['instancesSet']['item']
|
||||
name = _extract_name_tag(item)
|
||||
ret[name] = item
|
||||
ret[name]['name'] = name
|
||||
ret[name].update(
|
||||
dict(
|
||||
id=item['instanceId'],
|
||||
|
Loading…
Reference in New Issue
Block a user