summaryrefslogtreecommitdiff
path: root/novaclient/api_versions.py
diff options
context:
space:
mode:
authorAndrey Kurilin <akurilin@mirantis.com>2015-08-10 17:07:18 +0300
committerAndrey Kurilin <akurilin@mirantis.com>2015-08-11 13:08:03 +0300
commit9f19f9a2852d5a4adaf0c70ea91a5028eb34f766 (patch)
tree887ad69a642973f96b855fb1955b0a110bfa7c0d /novaclient/api_versions.py
parent39739158b0cf10a775fd3899e35df7f53b4c9336 (diff)
downloadpython-novaclient-9f19f9a2852d5a4adaf0c70ea91a5028eb34f766.tar.gz
Change docstring of api_versions.discover_version
Change-Id: I814bedf45980fb90002b2d253c8b38ff0d289f82
Diffstat (limited to 'novaclient/api_versions.py')
-rw-r--r--novaclient/api_versions.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/novaclient/api_versions.py b/novaclient/api_versions.py
index ba4a56db..02729f69 100644
--- a/novaclient/api_versions.py
+++ b/novaclient/api_versions.py
@@ -240,9 +240,11 @@ def _get_server_version_range(client):
def discover_version(client, requested_version):
- """Returns latest version supported by both API and client.
+ """Checks ``requested_version`` and returns the most recent version
+ supported by both the API and the client.
:param client: client object
+ :param requested_version: requested version represented by APIVersion obj
:returns: APIVersion
"""