Skip to content

Commit b6e91a9

Browse files
FSMaxBdjc
authored andcommitted
Add missing env! macro around "CARGO_PKG_VERSION"
1 parent 88f271d commit b6e91a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opentelemetry-otlp/src/logs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ fn build_batch_with_exporter<R: RuntimeChannel<BatchMessage>>(
206206
let provider = provider_builder.build();
207207
let logger = provider.versioned_logger(
208208
Cow::Borrowed("opentelemetry-otlp"),
209-
Some(Cow::Borrowed("CARGO_PKG_VERSION")),
209+
Some(Cow::Borrowed(env!("CARGO_PKG_VERSION"))),
210210
None,
211211
None,
212212
);

0 commit comments

Comments
 (0)