fix docker.pulled when a tag is specified

(fixes #15156 and #15053)
This commit is contained in:
Bruno Binet 2014-09-23 18:34:15 +02:00
parent 6d2151cf9b
commit c093b1ee8d

View File

@ -1495,7 +1495,7 @@ def _parse_image_multilogs_string(ret, repo):
for l in image_logs:
if isinstance(l, dict):
if l.get('status') == 'Download complete' and l.get('id'):
infos = _get_image_infos(repo)
infos = _get_image_infos(l['id'])
break
return image_logs, infos