Skip to content

Commit

Permalink
fix lint and doc
Browse files Browse the repository at this point in the history
  • Loading branch information
lalitb committed May 2, 2024
1 parent 4bf49c3 commit bc1095d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion opentelemetry-appender-tracing/src/layer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ impl EventVisitor {
fn push_to_otel_log_record<LR: LogRecord>(self, log_record: &mut LR) {
if let Some(body) = self.log_record_body {
log_record.set_body(body);
}
}
log_record.set_attributes(self.log_record_attributes);
}
}
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-sdk/src/testing/logs/in_memory_exporter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ impl Default for InMemoryLogsExporter {
}
}

/// `LogDataWithResource` associates a [`LogRecord`] with a [`Resource`] and
/// `LogDataWithResource` associates a [`SdkLogRecord`] with a [`Resource`] and
/// [`InstrumentationLibrary`].
#[derive(Clone, Debug)]
pub struct LogDataWithResource {
Expand Down

0 comments on commit bc1095d

Please sign in to comment.