mirror of https://github.com/apache/cloudstack.git
[EC2 Query API] RunInstance and DescribeInstances throw NumberFormatException error when called using AWS Java SDK
https://reviews.apache.org/r/8483/ AWS Java SDK doesn't expect a string value in the AmiLaunchIndex response element for RunInstances and DescribeInstances response.
This commit is contained in:
parent
d738c81a46
commit
61f24d8a16
|
|
@ -1379,7 +1379,7 @@ public class EC2SoapServiceImpl implements AmazonEC2SkeletonInterface {
|
|||
param7.setDnsName( "" );
|
||||
param7.setReason( "" );
|
||||
param7.setKeyName( inst.getKeyPairName());
|
||||
param7.setAmiLaunchIndex( "" );
|
||||
param7.setAmiLaunchIndex( null );
|
||||
param7.setInstanceType( inst.getServiceOffering());
|
||||
|
||||
ProductCodesSetType param9 = new ProductCodesSetType();
|
||||
|
|
@ -1701,7 +1701,7 @@ public class EC2SoapServiceImpl implements AmazonEC2SkeletonInterface {
|
|||
param7.setDnsName( "" );
|
||||
param7.setReason( "" );
|
||||
param7.setKeyName( inst.getKeyPairName());
|
||||
param7.setAmiLaunchIndex( "" );
|
||||
param7.setAmiLaunchIndex( null );
|
||||
|
||||
ProductCodesSetType param9 = new ProductCodesSetType();
|
||||
ProductCodesSetItemType param10 = new ProductCodesSetItemType();
|
||||
|
|
|
|||
Loading…
Reference in New Issue