Fix doc generation errors

The following files have been removed in
I09a6501603667350f49b1b1fa130353a6d5272a2.

* novaclient/v2/volume_types.py
* novaclient/v2/volume_snapshots.py

But doc/source/conf.py has not been fixed.
So fix it.
And return parameter format in novaclient/v2/hosts.py
is fixed.

Change-Id: Icd3c5aed776df291141b8c3df4d64aa234e4ed88
Closes-Bug: #1648007
This commit is contained in:
Takashi NATSUME 2016-12-07 18:28:18 +09:00
parent 814329655a
commit c1c69f6d3e
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ gen_ref("v2", "Version 1.1, Version 2 API",
"floating_ip_pools", "floating_ips", "hypervisors", "keypairs",
"limits", "networks", "quota_classes", "quotas",
"security_group_rules", "security_groups", "services",
"virtual_interfaces", "volume_snapshots", "volumes", "volume_types"])
"virtual_interfaces", "volumes"])
# -- General configuration ----------------------------------------------------

View File

@ -74,7 +74,7 @@ class HostManager(base.ManagerWithFind):
:param host: The host to perform an action
:param action: The action to perform
returns: An instance of novaclient.base.TupleWithMeta
:returns: An instance of novaclient.base.TupleWithMeta
"""
url = '/os-hosts/%s/%s' % (host, action)
resp, body = self.api.client.get(url)