mirror of https://github.com/apache/cloudstack.git
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:
parent
3d4ccc0a96
commit
dcbd098ab0
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue