[DOC BLD FIX] Fix indentation in attachments.py

The docstrings for the 'update' function in
cinder/api/v3/attachments.py were not properly indented.
This caused Sphinx warnings to be reported and also caused
the resulting web page to not be properly formatted.

This patch corrects that problem.

Change-Id: Iaca89da8851da8d24f3c0982ff8ae0930e928e39
This commit is contained in:
Jay S. Bryant 2017-07-14 14:10:39 -05:00
parent 817f34ce5d
commit 34af3f91f9
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 = (