summaryrefslogtreecommitdiffstats
path: root/database
diff options
context:
space:
mode:
authorEmmanuel Vasilakis <mrzammler@mm.st>2021-12-07 14:20:46 +0200
committerGitHub <noreply@github.com>2021-12-07 14:20:46 +0200
commit00b6b7ea49d58694c07503d8e97bb9138f9034e6 (patch)
treefc7247062d456c3486e7bba212bee20edd82b5e6 /database
parent0a35be34096e5071e7672a1b327189370f0e7b49 (diff)
set the enabled struct element to 1 (#11856)
Diffstat (limited to 'database')
-rw-r--r--database/sqlite/sqlite_aclk_alert.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/database/sqlite/sqlite_aclk_alert.c b/database/sqlite/sqlite_aclk_alert.c
index af2797a51b..8d76942443 100644
--- a/database/sqlite/sqlite_aclk_alert.c
+++ b/database/sqlite/sqlite_aclk_alert.c
@@ -370,6 +370,7 @@ void aclk_push_alarm_health_log(struct aclk_database_worker_config *wc, struct a
alarm_log.node_id = wc->node_id;
alarm_log.log_entries = log_entries;
alarm_log.status = wc->alert_updates == 0 ? 2 : 1;
+ alarm_log.enabled = 1;
wc->alert_sequence_id = last_sequence;