apps: fix "has aggregated" debug output (#16512)
Ilya Mashchenko committed
Nov 30, 2023 at 20:07 UTC
7ce81a45e565b270180ac08203f97b9a98c75c24
1 file changed
+1
-1
collectors/apps.plugin/apps_plugin.c
+1
-1
@@ -3860,7 +3860,7 @@ static void send_charts_updates_to_netdata(struct target *root, const char *type
3860
3861
if (debug_enabled) {
3862
for (w = root; w; w = w->next) {
3863
- if (unlikely(w->debug_enabled && !w->target && w->processes)) {
3863
+ if (unlikely(!w->target && w->processes)) {
3864
struct pid_on_target *pid_on_target;
3865
fprintf(stderr, "apps.plugin: target '%s' has aggregated %u process(es):", w->name, w->processes);
3866
for (pid_on_target = w->root_pid; pid_on_target; pid_on_target = pid_on_target->next) {