Retry data not being saved by UI

Updates the code to save the entire action to the job instead
of select data from the action.

Change-Id: I53fda7df69b587103edc74c80587c81f77b86744
(cherry picked from commit 6613c044c6)
This commit is contained in:
Ryan Peters 2016-08-31 14:47:03 -05:00
parent 3b2c26f7ad
commit 877bb511c6
1 changed files with 1 additions and 5 deletions

View File

@ -241,11 +241,7 @@ class Job(object):
actions_in_job = []
for action_id in action_ids:
action = Action(self.request).get(action_id, json=True)
a = {
'action_id': action['action_id'],
'freezer_action': action['freezer_action']
}
actions_in_job.append(a)
actions_in_job.append(action)
return actions_in_job