summaryrefslogtreecommitdiffstats
path: root/health
diff options
context:
space:
mode:
authorEmmanuel Vasilakis <mrzammler@mm.st>2021-10-22 15:44:21 +0300
committerGitHub <noreply@github.com>2021-10-22 15:44:21 +0300
commita97f06a6ebdcd4bf197cfb4249ed747a52ac9243 (patch)
tree1d7cca72661319d25e0d6d73483b5e7d0f0d1f56 /health
parente79fe3fb8b6c734c7c49d52872c821d977892609 (diff)
Fix coverity issues 373612 & 373611 (#11684)
* fix 2 coverity errors * remove call to sql_queue_removed_alerts_to_aclk from health
Diffstat (limited to 'health')
-rw-r--r--health/health.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/health/health.c b/health/health.c
index 1c6929b0c7..8f5a23d968 100644
--- a/health/health.c
+++ b/health/health.c
@@ -1038,13 +1038,6 @@ void *health_main(void *ptr) {
rrdhost_unlock(host);
}
-#ifdef ENABLE_NEW_CLOUD_PROTOCOL
- if (aclk_alert_reloaded) {
- sql_queue_removed_alerts_to_aclk(host);
- aclk_alert_reloaded = 0;
- }
-#endif
-
if (unlikely(netdata_exit))
break;
@@ -1071,7 +1064,6 @@ void *health_main(void *ptr) {
rrd_unlock();
-
if(unlikely(netdata_exit))
break;