From e338fef730abf94b4b128a73433c166952c3add9 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Wed, 18 Mar 2015 18:27:01 -0700 Subject: [PATCH] Add another valid status from downloading images --- cloud/docker/docker.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cloud/docker/docker.py b/cloud/docker/docker.py index 2ece52bb9d9..fd1be1aebe4 100644 --- a/cloud/docker/docker.py +++ b/cloud/docker/docker.py @@ -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: