From 460965363f9b092f2ea5d5b9fabddd188aae34a7 Mon Sep 17 00:00:00 2001 From: Jonathan Paynter Date: Wed, 1 Jul 2020 10:04:29 +0000 Subject: [PATCH] framework: Fix serialized job retries set to 0 JobState serializations did not reflect the current state of execution, as the 'retries' field was set to 0 instead of JobState.retries. --- wa/framework/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wa/framework/run.py b/wa/framework/run.py index 7509e2b8..c57da26f 100644 --- a/wa/framework/run.py +++ b/wa/framework/run.py @@ -163,7 +163,7 @@ class JobState(Podable): pod['label'] = self.label pod['iteration'] = self.iteration pod['status'] = self.status.to_pod() - pod['retries'] = 0 + pod['retries'] = self.retries pod['timestamp'] = self.timestamp return pod