mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Expand tab with 8 spaces
This commit is contained in:
parent
dd19f6d61b
commit
c00de7b3c9
1 changed files with 2 additions and 2 deletions
|
@ -284,9 +284,9 @@ class LxdContainerManagement(object):
|
||||||
|
|
||||||
def _send_request(self, method, url, body_json=None, ok_error_codes=None):
|
def _send_request(self, method, url, body_json=None, ok_error_codes=None):
|
||||||
try:
|
try:
|
||||||
body = json.dumps(body_json)
|
body = json.dumps(body_json)
|
||||||
self.connection.request(method, url, body=body)
|
self.connection.request(method, url, body=body)
|
||||||
resp = self.connection.getresponse()
|
resp = self.connection.getresponse()
|
||||||
resp_json = json.loads(resp.read())
|
resp_json = json.loads(resp.read())
|
||||||
self.logs.append({
|
self.logs.append({
|
||||||
'type': 'sent request',
|
'type': 'sent request',
|
||||||
|
|
Loading…
Reference in a new issue