mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Use name in all places, not id.
This commit is contained in:
parent
9b34542cb0
commit
6e16fad760
@ -137,7 +137,7 @@ def avail_images(call=None):
|
||||
for image in items['images']:
|
||||
ret[image['name']] = {}
|
||||
for item in six.iterkeys(image):
|
||||
ret[image['id']][item] = image[item]
|
||||
ret[image['name']][item] = image[item]
|
||||
|
||||
page += 1
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user