Skip to content

Commit

Permalink
out_opentelemetry: pass output plugin instance to flb_plg_error
Browse files Browse the repository at this point in the history
Signed-off-by: Takahiro Yamashita <[email protected]>
  • Loading branch information
nokute78 authored and edsiper committed Mar 11, 2023
1 parent 21a2148 commit ba8a3cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/out_opentelemetry/opentelemetry.c
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ static int process_logs(struct flb_event_chunk *event_chunk,
log_object = msgpack_object_to_otlp_any_value(obj);

if (log_object == NULL) {
flb_plg_error(ins, "log event conversion failure");
flb_plg_error(ctx->ins, "log event conversion failure");
res = FLB_ERROR;
continue;
}
Expand Down

0 comments on commit ba8a3cd

Please sign in to comment.