Fixed problem with tags occuring twice with docker.pulled

This commit is contained in:
Robin Björklin 2015-01-30 14:12:52 +01:00 committed by Bruno Binet
parent c53ce9d0d9
commit c0f9b9dd8d

View File

@ -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: