mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #34702 from farcaller/fixtags
Fixed dockerng.list_tags
This commit is contained in:
commit
45045f6900
1 changed files with 1 additions and 1 deletions
|
@ -2250,7 +2250,7 @@ def list_tags():
|
|||
'''
|
||||
ret = set()
|
||||
for item in six.itervalues(images()):
|
||||
for repo_tag in item['RepoTags']:
|
||||
for repo_tag in item.get('RepoTags', []):
|
||||
ret.add(repo_tag)
|
||||
return sorted(ret)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue