mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-04-16 07:40:48 +01:00
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.
This commit is contained in:
parent
d4057367d8
commit
460965363f
@ -163,7 +163,7 @@ class JobState(Podable):
|
|||||||
pod['label'] = self.label
|
pod['label'] = self.label
|
||||||
pod['iteration'] = self.iteration
|
pod['iteration'] = self.iteration
|
||||||
pod['status'] = self.status.to_pod()
|
pod['status'] = self.status.to_pod()
|
||||||
pod['retries'] = 0
|
pod['retries'] = self.retries
|
||||||
pod['timestamp'] = self.timestamp
|
pod['timestamp'] = self.timestamp
|
||||||
return pod
|
return pod
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user