Fix parameters and description for os-volume_attachments

Now the code implementation for the api show and delete for
os-volume_attachments and the description of the document
does not match.

Change-Id: Ib15532d628713d771a835e9825a1c699a7ea4fcb
This commit is contained in:
zhangdaolong 2017-07-06 13:26:39 +08:00
parent 09fd39b194
commit 7cb913077f
1 changed files with 4 additions and 4 deletions

View File

@ -92,7 +92,7 @@ Response
Show a detail of a volume attachment
====================================
.. rest_method:: GET /servers/{server_id}/os-volume_attachments/{attachment_id}
.. rest_method:: GET /servers/{server_id}/os-volume_attachments/{volume_id}
Show a detail of a volume attachment.
@ -106,7 +106,7 @@ Request
.. rest_parameters:: parameters.yaml
- server_id: server_id_path
- attachment_id: attachment_id
- volume_id: volume_id
Response
--------
@ -158,7 +158,7 @@ No body is returned on successful request.
Detach a volume from an instance
================================
.. rest_method:: DELETE /servers/{server_id}/os-volume_attachments/{attachment_id}
.. rest_method:: DELETE /servers/{server_id}/os-volume_attachments/{volume_id}
Detach a volume from an instance.
@ -175,7 +175,7 @@ Request
.. rest_parameters:: parameters.yaml
- server_id: server_id_path
- attachment_id: attachment_id
- volume_id: volume_id
Response
--------