mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-31 07:04:17 +00:00 
			
		
		
		
	framework/run: fix JobState deserialization
At some point, JobState __init__ was changed to take the iteration number, but its from_pod was not updated accordingly.
This commit is contained in:
		| @@ -110,9 +110,8 @@ class JobState(object): | ||||
|  | ||||
|     @staticmethod | ||||
|     def from_pod(pod): | ||||
|         instance = JobState(pod['id'], pod['label'], Status(pod['status'])) | ||||
|         instance = JobState(pod['id'], pod['label'], pod['iteration'], Status(pod['status'])) | ||||
|         instance.retries = pod['retries'] | ||||
|         instance.iteration = pod['iteration'] | ||||
|         instance.timestamp = pod['timestamp'] | ||||
|         return instance | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user