mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Fixed problem with tags occuring twice with docker.pulled
This commit is contained in:
parent
c53ce9d0d9
commit
c0f9b9dd8d
@ -247,9 +247,6 @@ def pulled(name,
|
||||
Pull even if the image is already pulled
|
||||
'''
|
||||
|
||||
if tag:
|
||||
name = '{0}:{1}'.format(name, tag)
|
||||
|
||||
inspect_image = __salt__['docker.inspect_image']
|
||||
image_infos = inspect_image('{0}:{1}'.format(name, tag))
|
||||
if image_infos['status'] and not force:
|
||||
|
Loading…
Reference in New Issue
Block a user