summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorEmmanuel Vasilakis <mrzammler@mm.st>2023-05-23 15:56:56 +0300
committerGitHub <noreply@github.com>2023-05-23 15:56:56 +0300
commitc0c1e0e85a627d0509a37ea4e7ef00c2cf4aa29f (patch)
tree6c1208d26ad8fb47fcb78c242cfb1b6ada5a5907 /web
parenta53850f534f45bd86971160415befd6957ddb6d6 (diff)
Better cleanup of health log table (#15045)
Diffstat (limited to 'web')
-rw-r--r--web/api/web_api_v1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/api/web_api_v1.c b/web/api/web_api_v1.c
index 6e23549d4a..637329696a 100644
--- a/web/api/web_api_v1.c
+++ b/web/api/web_api_v1.c
@@ -354,7 +354,7 @@ inline int web_client_api_request_v1_alarm_log(RRDHOST *host, struct web_client
buffer_flush(w->response.data);
w->response.data->content_type = CT_APPLICATION_JSON;
- health_alarm_log2json(host, w->response.data, after, chart);
+ sql_health_alarm_log2json(host, w->response.data, after, chart);
return HTTP_RESP_OK;
}