LGTM

On Mon, May 10, 2010 at 11:30 AM, Michael Hanselmann <han...@google.com>wrote:

> ---
>  lib/rapi/client.py |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/lib/rapi/client.py b/lib/rapi/client.py
> index ab5b6bf..89d3c16 100644
> --- a/lib/rapi/client.py
> +++ b/lib/rapi/client.py
> @@ -759,7 +759,7 @@ class GanetiRapiClient(object):
>     @return: job status
>
>     """
> -    return self._SendRequest(HTTP_GET, "/2/jobs/%d" % job_id, None, None)
> +    return self._SendRequest(HTTP_GET, "/2/jobs/%s" % job_id, None, None)
>
>   def WaitForJobChange(self, job_id, fields, prev_job_info,
> prev_log_serial):
>     """Waits for job changes.
> @@ -789,7 +789,7 @@ class GanetiRapiClient(object):
>     if dry_run:
>       query.append(("dry-run", 1))
>
> -    return self._SendRequest(HTTP_DELETE, "/2/jobs/%d" % job_id, query,
> None)
> +    return self._SendRequest(HTTP_DELETE, "/2/jobs/%s" % job_id, query,
> None)
>
>   def GetNodes(self, bulk=False):
>     """Gets all nodes in the cluster.
> --
> 1.7.0.4
>
>

Reply via email to