mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-31 15:12:25 +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:
		
				
					committed by
					
						 Marc Bonnici
						Marc Bonnici
					
				
			
			
				
	
			
			
			
						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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user