Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in_calyptia_fleet: remove unused event_fd configuration property. #8090

Merged
merged 2 commits into from
Oct 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions plugins/in_calyptia_fleet/in_calyptia_fleet.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ struct flb_in_calyptia_fleet_config {
/* Networking */
struct flb_upstream *u;

int event_fd;

int collect_fd;
};

Expand Down Expand Up @@ -914,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) {
Expand Down Expand Up @@ -1234,11 +1231,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),
Expand Down
Loading