From 28377178d21aa96952c732952d0f77863cf7463d Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 2 Oct 2021 01:49:47 -0400 Subject: [PATCH] Fix missing argument in database insert --- api-daemon/pvcapid/benchmark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-daemon/pvcapid/benchmark.py b/api-daemon/pvcapid/benchmark.py index 56b7b535..1508e41a 100755 --- a/api-daemon/pvcapid/benchmark.py +++ b/api-daemon/pvcapid/benchmark.py @@ -138,7 +138,7 @@ def run_benchmark(self, pool): print("Storing running status for job '{}' in database".format(job_name)) try: - query = "INSERT INTO storage_benchmarks (job, test_format, result) VALUES (%s, %s);" + query = "INSERT INTO storage_benchmarks (job, test_format, result) VALUES (%s, %s, %s);" args = (job_name, TEST_FORMAT, "Running",) db_cur.execute(query, args) db_conn.commit()