@cryptotaxi247 / netdata-1 / commits / 07d801dd0

fix obsolete chart cleanup to properly handle vnodes (#20254)

Ilya Mashchenko committed May 8, 2025 at 11:27 UTC 07d801dd0a8b69bb2d71a1d66cdd32ac5cdabff8
1 file changed +1 -1
src/daemon/service.c
+1 -1
@@ -185,7 +185,7 @@ static void svc_rrd_cleanup_obsolete_charts_from_all_hosts() {
185
186 svc_rrdhost_cleanup_charts_marked_obsolete(host);
187
188 - if (host == localhost)
188 + if (rrdhost_is_local(host))
189 continue;
190
191 rrdhost_receiver_lock(host);