0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-13 01:08:11 +00:00

set the enabled struct element to 1 ()

This commit is contained in:
Emmanuel Vasilakis 2021-12-07 14:20:46 +02:00 committed by GitHub
parent 0a35be3409
commit 00b6b7ea49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;