From 0e26516196ba2d53cb2c577634331de87e3e3735 Mon Sep 17 00:00:00 2001 From: Guido Trotter <ultrotter@google.com> Date: Fri, 18 Feb 2011 12:52:58 +0000 Subject: [PATCH] TestRapiInstanceRename use instance name Currently the QA rename job wrongly passed the whole info dict to the client. Signed-off-by: Guido Trotter <ultrotter@google.com> Reviewed-by: Iustin Pop <iustin@google.com> --- qa/qa_rapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/qa_rapi.py b/qa/qa_rapi.py index 3f46dda46..6653ecc01 100644 --- a/qa/qa_rapi.py +++ b/qa/qa_rapi.py @@ -473,7 +473,7 @@ def TestRapiInstanceRename(rename_source, rename_target): def TestRapiInstanceReinstall(instance): """Test reinstalling an instance via RAPI""" - _WaitForRapiJob(_rapi_client.ReinstallInstance(instance)) + _WaitForRapiJob(_rapi_client.ReinstallInstance(instance["name"])) def TestRapiInstanceModify(instance): -- GitLab