mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Use name in all places, not id.
This commit is contained in:
parent
9b34542cb0
commit
6e16fad760
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue