Skip to content

Commit 94c854a

Browse files
committed
Code changes
1 parent fc37341 commit 94c854a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opentelemetry-sdk/src/logs/log_processor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ where
524524
return LogResult::Ok(());
525525
}
526526

527-
let export = exporter.export(LogBatch::new_with_owned_data(batch));
527+
let export = exporter.export(LogBatch::new_with_owned_data(batch.as_slice()));
528528
let export_result = futures_executor::block_on(export);
529529

530530
// Clear the batch vec after exporting

0 commit comments

Comments
 (0)