Add another valid status from downloading images

This commit is contained in:
Toshio Kuratomi 2015-03-18 18:27:01 -07:00
parent ae253593e3
commit e338fef730

View file

@ -1166,7 +1166,8 @@ class DockerManager(object):
if status.startswith('Status: Image is up to date for'):
# Image is already up to date. Don't increment the counter.
pass
elif status.startswith('Status: Downloaded newer image for'):
elif (status.startswith('Status: Downloaded newer image for') or
status.startswith('Download complete')):
# Image was updated. Increment the pull counter.
self.increment_counter('pulled')
else: