VMware: Fix get_tags_for_vm API in vmware_vm_info module (#61697)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
pull/61700/head
Abhijeet Kasurde 5 years ago committed by GitHub
parent e4d72dd981
commit e7c6134fd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save