Skip to content

Commit

Permalink
Write index file properly
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmitterdorfer committed Apr 21, 2020
1 parent 6da54c0 commit 3be0024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esrally/tracker/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def extract(client, outdir, index_pattern):
filename = f"{index}.json"
outpath = os.path.join(outdir, filename)
with open(outpath, "w") as outfile:
json.dump(index_obj, outfile, indent=4, sort_keys=True)
json.dump(details, outfile, indent=4, sort_keys=True)
outfile.write("\n")
results.append({
"name": index,
Expand Down

0 comments on commit 3be0024

Please sign in to comment.