File tree Expand file tree Collapse file tree
package/cloudshell/cp/vcenter/vm Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -211,15 +211,15 @@ def get_details(self):
211211 """
212212 data = []
213213 if isinstance (self .model , vCenterCloneVMFromVMResourceModel ):
214- data .append (VmDataField ('Cloned VM Name' , self .model .vcenter_vm . split ( '/' )[ - 1 ] ))
214+ data .append (VmDataField ('Cloned VM Name' , self .model .vcenter_vm ))
215215
216216 if isinstance (self .model , VCenterDeployVMFromLinkedCloneResourceModel ):
217- data .append (VmDataField ('Cloned VM Name' , self .model .vcenter_vm . split ( '/' )[ - 1 ] ))
217+ data .append (VmDataField ('Cloned VM Name' , self .model .vcenter_vm ))
218218
219219 if isinstance (self .model , vCenterVMFromImageResourceModel ):
220220 data .append (VmDataField ('Base Image Name' , self .model .vcenter_image .split ('/' )[- 1 ]))
221221
222222 if isinstance (self .model , vCenterVMFromTemplateResourceModel ):
223- data .append (VmDataField ('Template Name' , self .model .vcenter_template . split ( '/' )[ - 1 ] ))
223+ data .append (VmDataField ('Template Name' , self .model .vcenter_template ))
224224
225225 return data
You can’t perform that action at this time.
0 commit comments