Skip to content

Commit

Permalink
Fixed compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
cb645j committed Mar 13, 2024
1 parent f446ab6 commit 3c323ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/out_opentelemetry/opentelemetry.c
Original file line number Diff line number Diff line change
Expand Up @@ -1139,10 +1139,10 @@ static int process_logs(struct flb_event_chunk *event_chunk,
struct opentelemetry_context *ctx;
struct flb_record_accessor *ra_match;

flb_plg_info(ctx->ins, "Process Logs");

ctx = (struct opentelemetry_context *) out_context;

flb_plg_info(ctx->ins, "Process Logs");

log_record_list = (Opentelemetry__Proto__Logs__V1__LogRecord **)
flb_calloc(ctx->batch_size, sizeof(Opentelemetry__Proto__Logs__V1__LogRecord *));
if (!log_record_list) {
Expand Down

0 comments on commit 3c323ca

Please sign in to comment.