Listing objects to return Munch objects
list_objects was returning a list of dict objects, being incosistent with other listing methods in OpenStackCloud. It is now consistent, returning a list of Munch objects. Story: #2003568 Task: #24861 Change-Id: I39ca8d6221aa34db1f4ba983d169b7701d0328d8
This commit is contained in:
parent
f22b9a88db
commit
c340e203e4
@ -7767,8 +7767,9 @@ class OpenStackCloud(_normalize.Normalizer):
|
||||
|
||||
:raises: OpenStackCloudException on operation error.
|
||||
"""
|
||||
return self._object_store_client.get(
|
||||
data = self._object_store_client.get(
|
||||
container, params=dict(format='json'))
|
||||
return self._get_and_munchify(None, data)
|
||||
|
||||
def delete_object(self, container, name, meta=None):
|
||||
"""Delete an object from a container.
|
||||
|
Loading…
Reference in New Issue
Block a user