aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkolla/image/build.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/kolla/image/build.py b/kolla/image/build.py
index 2c727a25b..7e2b0ff7e 100755
--- a/kolla/image/build.py
+++ b/kolla/image/build.py
@@ -498,12 +498,8 @@ class WorkerThread(threading.Thread):
for attempt in six.moves.range(self.conf.retries + 1):
if self.should_stop:
break
- if attempt > 0:
- LOG.info("Attempting to run task %s for the %s time",
- task.name, attempt + 1)
- else:
- LOG.info("Attempting to run task %s for the first"
- " time", task.name)
+ LOG.info("Attempt number: %s to run task: %s ",
+ attempt + 1, task.name)
try:
task.run()
if task.success: