Fix inappropriate comment for set_metadata
Fix inappropriate comment for the param of set_metadata Change-Id: I01495f59b11ed88389b0e0f2f5fb34289f64dbac Closes-Bug: 1254951
This commit is contained in:
@@ -84,7 +84,7 @@ class Volume(base.Resource):
|
||||
def set_metadata(self, volume, metadata):
|
||||
"""Set or Append metadata to a volume.
|
||||
|
||||
:param type : The :class: `Volume` to set metadata on
|
||||
:param volume : The :class: `Volume` to set metadata on
|
||||
:param metadata: A dict of key/value pairs to set
|
||||
"""
|
||||
return self.manager.set_metadata(self, metadata)
|
||||
|
@@ -83,7 +83,7 @@ class Volume(base.Resource):
|
||||
def set_metadata(self, volume, metadata):
|
||||
"""Set or Append metadata to a volume.
|
||||
|
||||
:param type : The :class: `Volume` to set metadata on
|
||||
:param volume : The :class: `Volume` to set metadata on
|
||||
:param metadata: A dict of key/value pairs to set
|
||||
"""
|
||||
return self.manager.set_metadata(self, metadata)
|
||||
|
@@ -31,6 +31,7 @@ Release Notes
|
||||
=============
|
||||
MASTER
|
||||
------
|
||||
.. _1254951: http://bugs.launchpad.net/python-cinderclient/+bug/1254951
|
||||
|
||||
1.0.7
|
||||
-----
|
||||
|
Reference in New Issue
Block a user