diff --git a/scenarios/preset/preset_grpc.py b/scenarios/preset/preset_grpc.py index 9ebc86b..06ec901 100755 --- a/scenarios/preset/preset_grpc.py +++ b/scenarios/preset/preset_grpc.py @@ -69,7 +69,7 @@ def main(): data = {'containers': container_list, 'objects': objects_struct, 'obj_size': args.size + " Kb"} with open(args.out, 'w+') as f: - json.dump(data, f, ensure_ascii=False) + json.dump(data, f, ensure_ascii=False, indent=2) print(f"Result:") print(f" > Total Containers has been created: {len(container_list)}.") diff --git a/scenarios/preset/preset_s3.py b/scenarios/preset/preset_s3.py index 0247a3e..e2bdc7d 100755 --- a/scenarios/preset/preset_s3.py +++ b/scenarios/preset/preset_s3.py @@ -67,7 +67,7 @@ def main(): data = {'buckets': bucket_list, 'objects': objects_struct, 'obj_size': args.size + " Kb"} with open(args.out, 'w+') as f: - json.dump(data, f, ensure_ascii=False) + json.dump(data, f, ensure_ascii=False, indent=2) print(f"Result:") print(f" > Total Buckets has been created: {len(bucket_list)}.")