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:
wanghao
2013-11-26 11:42:17 +08:00
committed by Avishay Traeger
parent fb03281c9e
commit e8a0e6abdf
3 changed files with 3 additions and 2 deletions

View File

@@ -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)

View File

@@ -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)

View File

@@ -31,6 +31,7 @@ Release Notes
=============
MASTER
------
.. _1254951: http://bugs.launchpad.net/python-cinderclient/+bug/1254951
1.0.7
-----