Permalink
Browse files

bug 1093743 - correct request id for retrigger/cancel on coalesced jobs

  • Loading branch information...
camd committed Nov 11, 2014
1 parent 05cf876 commit b189b22fe9f2ac86240db055c67f32a020e84a94
Showing with 3 additions and 3 deletions.
  1. +3 −3 treeherder/etl/buildapi.py
@@ -248,7 +248,7 @@ def prop_remove(field):
'log_urls': [],
'blob': {
'buildername': build['properties']['buildername'],
'request_id': request_ids[0]
'request_id': max(request_ids)
}
},
]
@@ -452,7 +452,7 @@ def transform(self, data):
new_job = {
'job_guid': common.generate_job_guid(
running_job['request_ids'][0],
",".join(map(str, running_job['request_ids'])),
running_job['submitted_at']
),
'name': job_name_info.get('name', ''),
@@ -497,7 +497,7 @@ def transform(self, data):
'log_urls': [],
'blob': {
'buildername': running_job['buildername'],
'request_id': running_job['request_ids'][0]
'request_id': max(running_job['request_ids'])
}
},
]

0 comments on commit b189b22

Please sign in to comment.