Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit bc1095d

Browse files
committedMay 2, 2024·
fix lint and doc
1 parent 4bf49c3 commit bc1095d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎opentelemetry-appender-tracing/src/layer.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ impl EventVisitor {
7474
fn push_to_otel_log_record<LR: LogRecord>(self, log_record: &mut LR) {
7575
if let Some(body) = self.log_record_body {
7676
log_record.set_body(body);
77-
}
77+
}
7878
log_record.set_attributes(self.log_record_attributes);
7979
}
8080
}

‎opentelemetry-sdk/src/testing/logs/in_memory_exporter.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ impl Default for InMemoryLogsExporter {
5050
}
5151
}
5252

53-
/// `LogDataWithResource` associates a [`LogRecord`] with a [`Resource`] and
53+
/// `LogDataWithResource` associates a [`SdkLogRecord`] with a [`Resource`] and
5454
/// [`InstrumentationLibrary`].
5555
#[derive(Clone, Debug)]
5656
pub struct LogDataWithResource {

0 commit comments

Comments
 (0)
Please sign in to comment.