From 8bf891ce4cd767c562b0b1d589a7d266f97c2c4a Mon Sep 17 00:00:00 2001 From: maxinjian Date: Wed, 7 Dec 2016 04:41:35 -0500 Subject: [PATCH] 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 --- cinderclient/v1/volume_encryption_types.py | 3 ++- cinderclient/v2/volume_encryption_types.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cinderclient/v1/volume_encryption_types.py b/cinderclient/v1/volume_encryption_types.py index 8b22c7764..654445b06 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 6ed3c4225..9edacf978 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