]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
fog: Fix TypeError when canceling tasks
authorZack Cerza <zack@redhat.com>
Mon, 4 Dec 2017 18:59:26 +0000 (11:59 -0700)
committerZack Cerza <zack@redhat.com>
Mon, 4 Dec 2017 18:59:26 +0000 (11:59 -0700)
Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/provision/fog.py

index 5e8d14141fb50d197ce8c2505ff3b91aef509607..aa267ea7f2f58ecb59d39ce448c21a842cb9c2eb 100644 (file)
@@ -244,7 +244,7 @@ class FOG(object):
         resp = self.do_request(
             '/task/cancel',
             method='DELETE',
-            data='{"id": %i}' % task_id,
+            data='{"id": %s}' % task_id,
         )
         resp.raise_for_status()