Skip to content

Commit

Permalink
in_calyptia_fleet: preserve machine_id across reloads.
Browse files Browse the repository at this point in the history
Signed-off-by: Phillip Whelan <[email protected]>
  • Loading branch information
pwhelan committed Nov 23, 2023
1 parent 7d2097d commit afbb196
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/in_calyptia_fleet/in_calyptia_fleet.c
Original file line number Diff line number Diff line change
Expand Up @@ -1632,13 +1632,15 @@ static int get_calyptia_fleet_config(struct flb_in_calyptia_fleet_config *ctx,
" api_key %s\n"
" fleet_id %s\n"
" add_label fleet_id %s\n"
" machine_id %s\n"
" fleet.config_dir %s\n"
" calyptia_host %s\n"
" calyptia_port %d\n"
" calyptia_tls %s\n",
ctx->api_key,
ctx->fleet_id,
ctx->fleet_id,
ctx->machine_id,
ctx->config_dir,
ctx->ins->host.name,
ctx->ins->host.port,
Expand All @@ -1653,6 +1655,7 @@ static int get_calyptia_fleet_config(struct flb_in_calyptia_fleet_config *ctx,
" fleet_name %s\n"
" fleet_id %s\n"
" add_label fleet_id %s\n"
" machine_id %s\n"
" fleet.config_dir %s\n"
" calyptia_host %s\n"
" calyptia_port %d\n"
Expand All @@ -1661,6 +1664,7 @@ static int get_calyptia_fleet_config(struct flb_in_calyptia_fleet_config *ctx,
ctx->fleet_name,
ctx->fleet_id,
ctx->fleet_id,
ctx->machine_id,
ctx->config_dir,
ctx->ins->host.name,
ctx->ins->host.port,
Expand Down

0 comments on commit afbb196

Please sign in to comment.