buildman: build_metrics call correct method

This commit is contained in:
Jimmy Zelinskie 2015-02-17 17:03:12 -05:00
parent 1a71925125
commit 5790d7d8cc

View file

@ -131,7 +131,7 @@ class BuilderServer(object):
minimum_extension=MINIMUM_JOB_EXTENSION)
def _job_complete(self, build_job, job_status):
build_metrics.report(job_status)
build_metrics.report_completion_status(job_status)
if job_status == BuildJobResult.INCOMPLETE:
self._queue.incomplete(build_job.job_item, restore_retry=False, retry_after=30)