From c85a7b529e44b703b4c2452c907a99c0cec7c212 Mon Sep 17 00:00:00 2001 From: Phillip Whelan Date: Thu, 26 Oct 2023 11:15:44 -0300 Subject: [PATCH 1/2] in_calyptia_fleet: remove unused event_fd configuration property. Signed-off-by: Phillip Whelan --- plugins/in_calyptia_fleet/in_calyptia_fleet.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/plugins/in_calyptia_fleet/in_calyptia_fleet.c b/plugins/in_calyptia_fleet/in_calyptia_fleet.c index 3175b5645c1..cbd46b6d1ee 100644 --- a/plugins/in_calyptia_fleet/in_calyptia_fleet.c +++ b/plugins/in_calyptia_fleet/in_calyptia_fleet.c @@ -82,8 +82,6 @@ struct flb_in_calyptia_fleet_config { /* Networking */ struct flb_upstream *u; - int event_fd; - int collect_fd; }; @@ -1234,11 +1232,6 @@ static struct flb_config_map config_map[] = { 0, FLB_TRUE, offsetof(struct flb_in_calyptia_fleet_config, machine_id), "Agent Machine ID." }, - { - FLB_CONFIG_MAP_INT, "event_fd", "-1", - 0, FLB_TRUE, offsetof(struct flb_in_calyptia_fleet_config, event_fd), - "Used internally to set the event fd." - }, { FLB_CONFIG_MAP_INT, "interval_sec", DEFAULT_INTERVAL_SEC, 0, FLB_TRUE, offsetof(struct flb_in_calyptia_fleet_config, interval_sec), From cbc21509ea3212a94472b1f954321d165f1920b9 Mon Sep 17 00:00:00 2001 From: Phillip Whelan Date: Thu, 26 Oct 2023 11:43:18 -0300 Subject: [PATCH 2/2] in_calyptia_fleet: remove info messsage using event_fd. Signed-off-by: Phillip Whelan --- plugins/in_calyptia_fleet/in_calyptia_fleet.c | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/in_calyptia_fleet/in_calyptia_fleet.c b/plugins/in_calyptia_fleet/in_calyptia_fleet.c index cbd46b6d1ee..adbd7a7f275 100644 --- a/plugins/in_calyptia_fleet/in_calyptia_fleet.c +++ b/plugins/in_calyptia_fleet/in_calyptia_fleet.c @@ -912,7 +912,6 @@ static int in_calyptia_fleet_collect(struct flb_input_instance *ins, if (ctx->config_timestamp < time_last_modified) { flb_plg_debug(ctx->ins, "new configuration is newer than current: %ld < %ld", ctx->config_timestamp, time_last_modified); - flb_plg_info(ctx->ins, "force the reloading of the configuration file=%d.", ctx->event_fd); flb_sds_destroy(data); if (execute_reload(ctx, cfgname) == FLB_FALSE) {