CS-14777- Not able to retrieve password of a VM using ec2-get-password command.

Resolved. The response parsing in awsapi was broken.
This commit is contained in:
prachi 2012-05-07 12:43:11 -07:00
parent 3d4ccc0a96
commit dcbd098ab0
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ public class CloudStackApi {
if (cmd != null)
cmd.setParam(ApiConstants.ID, id);
// TODO: This probably isn't right. Need to test with an instance that has a VM Password
return _client.call(cmd, apiKey, secretKey, true, ApiConstants.GET_VM_PASSWORD_RESPONSE, null, CloudStackPasswordData.class);
return _client.call(cmd, apiKey, secretKey, true, ApiConstants.GET_VM_PASSWORD_RESPONSE, ApiConstants.PASSWORD, CloudStackPasswordData.class);
}
// Templates