esx: Fix deserialization for VI API calls CancelTask and UnregisterVM

This commit is contained in:
Matthias Bolte 2010-01-02 17:11:12 +01:00
parent d9734072ff
commit 79f9419652
1 changed files with 2 additions and 2 deletions

View File

@ -601,7 +601,7 @@ esxVI_CancelTask(virConnectPtr conn, esxVI_Context *ctx,
request = virBufferContentAndReset(&buffer);
if (esxVI_Context_Execute(conn, ctx, "UnregisterVM", request, &response,
if (esxVI_Context_Execute(conn, ctx, "CancelTask", request, &response,
esxVI_Occurrence_None) < 0) {
goto failure;
}
@ -652,7 +652,7 @@ esxVI_UnregisterVM(virConnectPtr conn, esxVI_Context *ctx,
request = virBufferContentAndReset(&buffer);
if (esxVI_Context_Execute(conn, ctx, "AnswerVM", request, &response,
if (esxVI_Context_Execute(conn, ctx, "UnregisterVM", request, &response,
esxVI_Occurrence_None) < 0) {
goto failure;
}