@@ -3356,20 +3356,18 @@ def _migrate_to_fcd(self, context, volume, host):
33563356 if vol_status == 'in-use' :
33573357 new_conn_info = {
33583358 'driver_volume_type' : "vstorageobject" ,
3359- 'data' : {
3360- 'volume_id' : volume .id ,
3361- 'name' : volume .name ,
3362- 'id' : fcd_loc .fcd_id ,
3363- 'ds_ref_val' : fcd_loc .ds_ref_val ,
3364- 'ds_name' : volume_utils .extract_host (volume .host ,
3365- level = 'pool' ),
3366- 'adapter_type' : self ._get_adapter_type (volume ),
3367- 'profile_id' : self ._get_storage_profile_id (volume ),
3368- 'volume' : "" ,
3369- 'vmdk_size' : volume .size * units .Gi ,
3370- 'vmdk_path' : vmdk_path ,
3371- 'datacenter' : dc_ref .value
3372- }
3359+ 'volume_id' : volume .id ,
3360+ 'name' : volume .name ,
3361+ 'id' : fcd_loc .fcd_id ,
3362+ 'ds_ref_val' : fcd_loc .ds_ref_val ,
3363+ 'ds_name' : volume_utils .extract_host (volume .host ,
3364+ level = 'pool' ),
3365+ 'adapter_type' : self ._get_adapter_type (volume ),
3366+ 'profile_id' : self ._get_storage_profile_id (volume ),
3367+ 'volume' : "" ,
3368+ 'vmdk_size' : volume .size * units .Gi ,
3369+ 'vmdk_path' : vmdk_path ,
3370+ 'datacenter' : dc_ref .value
33733371 }
33743372 attachments = volume .volume_attachment
33753373 for attach in attachments :
0 commit comments