Merge "Fix --retries option to kolla-build"
This commit is contained in:
commit
336074a6c3
@ -74,7 +74,7 @@ class WorkerThread(Thread):
|
|||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
image = self.queue.get()
|
image = self.queue.get()
|
||||||
for _ in range(self.retries):
|
for _ in range(self.retries + 1):
|
||||||
self.builder(image)
|
self.builder(image)
|
||||||
if image['status'] in ['built', 'unmatched',
|
if image['status'] in ['built', 'unmatched',
|
||||||
'parent_error']:
|
'parent_error']:
|
||||||
|
Loading…
Reference in New Issue
Block a user