summaryrefslogtreecommitdiff
path: root/api-ref/source/os-agents.inc
diff options
context:
space:
mode:
authorSean Dague <sean@dague.net>2016-04-20 11:20:05 -0400
committerSean Dague <sean@dague.net>2016-04-20 11:25:30 -0400
commit1555736e3c1e0a66a99d0291934887250cd2e0cc (patch)
tree4c481565b55ed0ba0cac5a02ae823e21ad600cfd /api-ref/source/os-agents.inc
parentdb06f9aa619923de9ce141d1bd06445e1d63ea48 (diff)
downloadnova-1555736e3c1e0a66a99d0291934887250cd2e0cc.tar.gz
Final warnings removals for api-ref
This removes the final warnings from the api-ref code base, and flips the sphinx switch to enforce warnings as errors. It also adds code to the rest_parameters extension to make it more clear where a problem is when it comes to included parameters. This puts us in a place where we can start doing the file per file look at content. Part of bp:api-ref-in-rst Change-Id: Ic2c99d96d6addcafa00b9f16785c2fe59b1798d3
Diffstat (limited to 'api-ref/source/os-agents.inc')
-rw-r--r--api-ref/source/os-agents.inc7
1 files changed, 3 insertions, 4 deletions
diff --git a/api-ref/source/os-agents.inc b/api-ref/source/os-agents.inc
index 4e60d6fe12..f250e88538 100644
--- a/api-ref/source/os-agents.inc
+++ b/api-ref/source/os-agents.inc
@@ -29,7 +29,7 @@ Request
.. rest_parameters:: parameters.yaml
- tenant_id: tenant_id
- - hypervisor: hypervisor
+ - hypervisor: hypervisor_type
- architecture: architecture
- os: os
- url: url
@@ -46,7 +46,7 @@ Response
.. rest_parameters:: parameters.yaml
- - hypervisor: hypervisor
+ - hypervisor: hypervisor_type
- architecture: architecture
- os: os
- url: url
@@ -79,7 +79,7 @@ Request
- tenant_id: tenant_id
- agent_id: agent_id
- architecture: architecture
- - hypervisor: hypervisor
+ - hypervisor: hypervisor_type
- url: url
- md5hash: md5hash
- version: version
@@ -156,4 +156,3 @@ Response
.. literalinclude:: ../../doc/api_samples/os-agents/agent-update-put-resp.json
:language: javascript
-