Add reno note for create_object and update_object

Change-Id: I4dfa51cad077e615cc24550b83a5d15862434c92
This commit is contained in:
Caleb Boylan 2016-05-31 12:51:05 -07:00 committed by Caleb Boylan
parent 0391757eab
commit d0ce33abfa
2 changed files with 8 additions and 3 deletions

View File

@ -0,0 +1,5 @@
---
features:
- create_object() now has a "metadata" parameter that can be used to create
an object with metadata of each key and value pair in that dictionary
- Add an update_object() function that updates the metadata of a swift object

View File

@ -4689,14 +4689,14 @@ class OpenStackCloud(object):
'Failed at action ({action}) [{error}]:'.format(**r))
def update_object(self, container, name, metadata=None, **headers):
"""Update the metadtata of an object
"""Update the metadata of an object
:param container: The name of the container the object is in
:param name: Name for the object within the container.
:param headers: These will be passed through to the object update
API as HTTP Headers.
:param metadata: This dict will get changed into headers that set
metadata of the object
:param headers: These will be passed through to the object update
API as HTTP Headers.
:raises: ``OpenStackCloudException`` on operation error.
"""