mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Add another valid status from downloading images
This commit is contained in:
committed by
Matt Clay
parent
7eebab43ae
commit
5262d768e0
@@ -1170,7 +1170,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:
|
||||
|
||||
Reference in New Issue
Block a user