Merge "Fix inventory objects list issue" into stable/ussuri

This commit is contained in:
Zuul 2020-06-08 15:07:06 +00:00 committed by Gerrit Code Review
commit b1a6528be0
1 changed files with 1 additions and 1 deletions

View File

@ -789,7 +789,7 @@ class Inventory(utils.NsxLibApiBase):
request_url = "%s?container_cluster_id=%s" % (
self.get_path(self._get_path_for_resource(resource_type)),
cluster_id)
return self.client.url_get(request_url)
return self.client.url_list(request_url)
def delete(self, resource_type, resource_id):
if not resource_type: