Don't insert keys into the config by mistake

Should be a copy of the data
This commit is contained in:
andrew committed 2023-10-20 18:04:48 -04:00
1 parent 5e62a4dc9c
commit 1091b6be83
1 file changed
+1 -1
+1 -1
View File
@@ -592,7 +592,7 @@ def client_get_build_info(request):
data = {}
for engine, config in OPENBENCH_CONFIG['engines'].items():
data[engine] = config['build']
data[engine] = config['build'].copy()
data[engine]['private'] = config['private']
return JsonResponse(data)