diff options
author | Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> | 2024-04-16 18:56:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-16 18:56:12 +0300 |
commit | 9688012a15bff3ae80b010a328e980c2f4c60061 (patch) | |
tree | cbfc944a85a2b2f195297a38781c197cdda2242d /src/health | |
parent | 51ba769a52e86f5d9d56b789dbcb30435fc8baf0 (diff) |
Alert transitions code cleanup (#17103)
* Separate function to add entries in health_log_detail
* Code cleanup
* Function returns void
* Use prepared statements
* Remove unused definitions
* Simplify bind params with a macro
* Switch macro params
* Change param order of SQLITE3_BIND_STRING_OR_NULL
* Use macro in more places
* More code changes
* Rebase
Diffstat (limited to 'src/health')
-rw-r--r-- | src/health/health_prototypes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/health/health_prototypes.c b/src/health/health_prototypes.c index 87ef27fba1..00bea507c4 100644 --- a/src/health/health_prototypes.c +++ b/src/health/health_prototypes.c @@ -377,7 +377,7 @@ void health_prototype_hash_id(RRD_ALERT_PROTOTYPE *ap) { UUID uuid = UUID_generate_from_hash(buffer_tostring(wb), buffer_strlen(wb)); uuid_copy(ap->config.hash_id, uuid.uuid); - (void) sql_alert_store_config(ap); + sql_alert_store_config(ap); } bool health_prototype_add(RRD_ALERT_PROTOTYPE *ap) { |