From 3d5a35150809be40e70fcd4b065354e0763280de Mon Sep 17 00:00:00 2001 From: Alfredo Cardigliano Date: Wed, 13 Nov 2024 16:38:15 +0100 Subject: [PATCH] Fix typo --- scripts/lua/modules/alert_store/user_alert_store.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lua/modules/alert_store/user_alert_store.lua b/scripts/lua/modules/alert_store/user_alert_store.lua index ff2fb1bf6198..307b5144246b 100644 --- a/scripts/lua/modules/alert_store/user_alert_store.lua +++ b/scripts/lua/modules/alert_store/user_alert_store.lua @@ -52,7 +52,7 @@ function user_alert_store:_build_insert_query(alert, write_table, alert_status, local insert_stmt = string.format("INSERT INTO %s ".. "(%salert_id, alert_status, require_attention, interface_id, tstamp, tstamp_end, severity, score, user, granularity, json) ".. "VALUES (%s%u, %u, %u, %d, %u, %u, %u, %u, '%s', %u, '%s'); ", - swrite_table, + write_table, extra_columns, extra_values, alert.alert_id,