Removed json
Some checks failed
gl/check check status: failure (7c866e7a4342f84e8dbe3c10a35773b73a949145)
Some checks failed
gl/check check status: failure (7c866e7a4342f84e8dbe3c10a35773b73a949145)
This commit is contained in:
parent
2aa0175b6e
commit
7c866e7a43
@ -117,7 +117,7 @@ def generate_os_host_list(hosts):
|
||||
|
||||
|
||||
def create_index(client, index, data):
|
||||
return client.indices.create(index, body=json.dumps(data))
|
||||
return client.indices.create(index=index, body=data)
|
||||
|
||||
|
||||
def delete_index(client, index):
|
||||
|
Loading…
x
Reference in New Issue
Block a user