mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 12:06:08 +00: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['iteration'] = self.iteration
|
||||
pod['status'] = self.status.to_pod()
|
||||
pod['retries'] = 0
|
||||
pod['retries'] = self.retries
|
||||
pod['timestamp'] = self.timestamp
|
||||
return pod
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user