summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaxinjian <maxj.fnst@cn.fujitsu.com>2016-12-07 04:41:35 -0500
committermaxinjian <maxj.fnst@cn.fujitsu.com>2017-01-23 09:57:16 -0500
commit8bf891ce4cd767c562b0b1d589a7d266f97c2c4a (patch)
tree8abe3dd4ab0a989088d430201514d6f385cf348a
parent837a74dd26c286ec50f7905370815ba4c2c95669 (diff)
downloadpython-cinderclient-8bf891ce4cd767c562b0b1d589a7d266f97c2c4a.tar.gz
Update param docstring to ducument search_opts
Param that needs docstring is not volume_types, but search_opts, update the param docstring to document the search_opts. Change-Id: Idef956d6e616988d9dacee227781a85bb60d6ded
-rw-r--r--cinderclient/v1/volume_encryption_types.py3
-rw-r--r--cinderclient/v2/volume_encryption_types.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/cinderclient/v1/volume_encryption_types.py b/cinderclient/v1/volume_encryption_types.py
index 8b22c77..654445b 100644
--- a/cinderclient/v1/volume_encryption_types.py
+++ b/cinderclient/v1/volume_encryption_types.py
@@ -40,7 +40,8 @@ class VolumeEncryptionTypeManager(base.ManagerWithFind):
"""
List all volume encryption types.
- :param volume_types: a list of volume types
+ :param search_opts: Search options to filter out volume
+ encryption types
:return: a list of :class: VolumeEncryptionType instances
"""
# Since the encryption type is a volume type extension, we cannot get
diff --git a/cinderclient/v2/volume_encryption_types.py b/cinderclient/v2/volume_encryption_types.py
index 6ed3c42..9edacf9 100644
--- a/cinderclient/v2/volume_encryption_types.py
+++ b/cinderclient/v2/volume_encryption_types.py
@@ -40,7 +40,8 @@ class VolumeEncryptionTypeManager(base.ManagerWithFind):
"""
List all volume encryption types.
- :param volume_types: a list of volume types
+ :param search_opts: Search options to filter out volume
+ encryption types
:return: a list of :class: VolumeEncryptionType instances
"""
# Since the encryption type is a volume type extension, we cannot get