Merge "Fix inventory objects list issue"

This commit is contained in:
Zuul 2020-06-03 04:45:46 +00:00 committed by Gerrit Code Review
commit 72e1ccfd7c

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: