Skip to content

Commit ba8a3cd

Browse files
nokute78edsiper
authored andcommitted
out_opentelemetry: pass output plugin instance to flb_plg_error
Signed-off-by: Takahiro Yamashita <[email protected]>
1 parent 21a2148 commit ba8a3cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/out_opentelemetry/opentelemetry.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ static int process_logs(struct flb_event_chunk *event_chunk,
820820
log_object = msgpack_object_to_otlp_any_value(obj);
821821

822822
if (log_object == NULL) {
823-
flb_plg_error(ins, "log event conversion failure");
823+
flb_plg_error(ctx->ins, "log event conversion failure");
824824
res = FLB_ERROR;
825825
continue;
826826
}

0 commit comments

Comments
 (0)