mirror of https://github.com/apache/cloudstack.git
CS-14638. ec2-run-instances, not setting the attach-time for volume in the reponse.
This commit is contained in:
parent
91bde4f926
commit
c45a0b4560
|
|
@ -1565,20 +1565,6 @@ public class EC2SoapServiceImpl implements AmazonEC2SkeletonInterface {
|
|||
param7.setRootDeviceType( "" );
|
||||
param7.setRootDeviceName( "" );
|
||||
|
||||
InstanceBlockDeviceMappingResponseType param14 = new InstanceBlockDeviceMappingResponseType();
|
||||
InstanceBlockDeviceMappingResponseItemType param15 = new InstanceBlockDeviceMappingResponseItemType();
|
||||
InstanceBlockDeviceMappingResponseItemTypeChoice_type0 param16 = new InstanceBlockDeviceMappingResponseItemTypeChoice_type0();
|
||||
param15.setDeviceName( "" );
|
||||
EbsInstanceBlockDeviceMappingResponseType param17 = new EbsInstanceBlockDeviceMappingResponseType();
|
||||
param17.setVolumeId( "" );
|
||||
param17.setStatus( "" );
|
||||
param17.setAttachTime( cal );
|
||||
param17.setDeleteOnTermination( true );
|
||||
param16.setEbs( param17 );
|
||||
param15.setInstanceBlockDeviceMappingResponseItemTypeChoice_type0( param16 );
|
||||
param14.addItem( param15 );
|
||||
param7.setBlockDeviceMapping( param14 );
|
||||
|
||||
param7.setInstanceLifecycle( "" );
|
||||
param7.setSpotInstanceRequestId( "" );
|
||||
param7.setVirtualizationType( "" );
|
||||
|
|
|
|||
Loading…
Reference in New Issue