Skip to content

Commit

Permalink
Add missing env! macro around "CARGO_PKG_VERSION"
Browse files Browse the repository at this point in the history
  • Loading branch information
FSMaxB authored and djc committed Aug 31, 2023
1 parent 88f271d commit b6e91a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opentelemetry-otlp/src/logs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ fn build_batch_with_exporter<R: RuntimeChannel<BatchMessage>>(
let provider = provider_builder.build();
let logger = provider.versioned_logger(
Cow::Borrowed("opentelemetry-otlp"),
Some(Cow::Borrowed("CARGO_PKG_VERSION")),
Some(Cow::Borrowed(env!("CARGO_PKG_VERSION"))),
None,
None,
);
Expand Down

0 comments on commit b6e91a9

Please sign in to comment.