VMware: Fix get_tags_for_vm API in vmware_vm_info module (#61697)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
e4d72dd981
commit
e7c6134fd0
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ class VmwareVmInfo(PyVmomi):
|
|||
|
||||
def get_tag_info(self, vm_dynamic_obj):
|
||||
vmware_client = VmwareRestClient(self.module)
|
||||
return vmware_client.get_tags_for_vm(vm_id=vm_dynamic_obj._moId)
|
||||
return vmware_client.get_tags_for_vm(vm_mid=vm_dynamic_obj._moId)
|
||||
|
||||
def get_vm_attributes(self, vm):
|
||||
return dict((x.name, v.value) for x in self.custom_field_mgr
|
||||
|
|
Loading…
Reference in a new issue