Skip to content

Commit 699f119

Browse files
committed
Removed path trimming from vm details vm name
1 parent adbedef commit 699f119

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package/cloudshell/cp/vcenter/commands/vm_details.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ def get_details(self):
6363
"""
6464
data = []
6565
if self.deployment == 'vCenter Clone VM From VM':
66-
data.append(VmDataField('Cloned VM Name', self.dep_attributes.get('vCenter VM', '').split('/')[-1]))
66+
data.append(VmDataField('Cloned VM Name', self.dep_attributes.get('vCenter VM', '')))
6767

6868
if self.deployment == 'VCenter Deploy VM From Linked Clone':
69-
data.append(VmDataField('Cloned VM Name', self.dep_attributes.get('vCenter VM', '').split('/')[-1]))
69+
data.append(VmDataField('Cloned VM Name', self.dep_attributes.get('vCenter VM', '')))
7070

7171
if self.deployment == 'vCenter VM From Image':
7272
data.append(VmDataField('Base Image Name', self.dep_attributes.get('vCenter Image', '').split('/')[-1]))

0 commit comments

Comments
 (0)