Clean up pep8 E123 and E124 violations
Fixed E123 and E124 errors.
All ignores are to be removed in the next sequence of patches.
Change-Id: Ie5dc0cd6b0cbdf00f403cb1a039c499a2fca869e
diff --git a/tempest/services/volume/json/volumes_client.py b/tempest/services/volume/json/volumes_client.py
index 2c9f8c3..6f04e5e 100644
--- a/tempest/services/volume/json/volumes_client.py
+++ b/tempest/services/volume/json/volumes_client.py
@@ -81,7 +81,7 @@
'size': size,
'display_name': kwargs.get('display_name'),
'metadata': kwargs.get('metadata'),
- }
+ }
post_body = json.dumps({'volume': post_body})
resp, body = self.post('volumes', post_body, self.headers)
@@ -95,9 +95,9 @@
def attach_volume(self, volume_id, instance_uuid, mountpoint):
"""Attaches a volume to a given instance on a given mountpoint"""
post_body = {
- 'instance_uuid': instance_uuid,
- 'mountpoint': mountpoint
- }
+ 'instance_uuid': instance_uuid,
+ 'mountpoint': mountpoint,
+ }
post_body = json.dumps({'os-attach': post_body})
url = 'volumes/%s/action' % (volume_id)
resp, body = self.post(url, post_body, self.headers)