Merge "[DOC BLD FIX] Fix indentation in attachments.py"

This commit is contained in:
Jenkins 2017-07-18 22:59:37 +00:00 committed by Gerrit Code Review
commit 43940e913c
1 changed files with 12 additions and 12 deletions

View File

@ -201,22 +201,22 @@ class AttachmentsController(wsgi.Controller):
Expected format of the input parameter 'body':
.. code-block:: json
{
"attachment":
{
"connector":
"attachment":
{
"initiator": "iqn.1993-08.org.debian:01:cad181614cec",
"ip":"192.168.1.20",
"platform": "x86_64",
"host": "tempest-1",
"os_type": "linux2",
"multipath": False,
"mountpoint": "/dev/vdb",
"mode": None|"rw"|"ro",
"connector":
{
"initiator": "iqn.1993-08.org.debian:01:cad181614cec",
"ip":"192.168.1.20",
"platform": "x86_64",
"host": "tempest-1",
"os_type": "linux2",
"multipath": False,
"mountpoint": "/dev/vdb",
"mode": None|"rw"|"ro",
}
}
}
}
"""
context = req.environ['cinder.context']
attachment_ref = (