]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Reflect paddles API change: jobs in jobs/ 126/head
authorZack Cerza <zack@cerza.org>
Mon, 7 Oct 2013 15:00:03 +0000 (10:00 -0500)
committerZack Cerza <zack@cerza.org>
Mon, 7 Oct 2013 15:01:48 +0000 (10:01 -0500)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/report.py

index 5e02a3a47306b83f048fc041b441c964a3381bf7..afecfd1a7f32301ecd5de405e0046d6f04e1dd10 100755 (executable)
@@ -253,12 +253,12 @@ class ResultsReporter(object):
         """
         Report a single job to the results server.
 
-        :param run_name: The name of the run.
+        :param run_name: The name of the run. The run must already exist.
         :param job_id:   The job's id
         :param job_json: The job's JSON object. Optional - if not present, we
                          look at the archive.
         """
-        run_uri = "{base}/runs/{name}/".format(
+        run_uri = "{base}/runs/{name}/jobs/".format(
             base=self.base_uri, name=run_name,)
         if job_json is None:
             job_json = self.serializer.json_for_job(run_name, job_id)