Skip to content

Commit 9d681c6

Browse files
Use version from env in changelog sample
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
1 parent 57bc2f2 commit 9d681c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opentelemetry/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Before:
2020
```
2121
let logger = provider.versioned_logger(
2222
"my-logger-name",
23-
Some("X.Y.Z"),
23+
Some(env!("CARGO_PKG_VERSION")),
2424
Some("https://opentelemetry.io/schema/1.0.0"),
2525
Some(vec![KeyValue::new("key", "value")]),
2626
);

0 commit comments

Comments
 (0)