From 34af3f91f9d158ac0779af50f81be92d51779349 Mon Sep 17 00:00:00 2001 From: "Jay S. Bryant" Date: Fri, 14 Jul 2017 14:10:39 -0500 Subject: [PATCH] [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 --- cinder/api/v3/attachments.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/cinder/api/v3/attachments.py b/cinder/api/v3/attachments.py index 37ca71c79d0..f6a95a19486 100644 --- a/cinder/api/v3/attachments.py +++ b/cinder/api/v3/attachments.py @@ -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 = (