Skip to content

Commit

Permalink
Prints version of lading in startup msg (#892)
Browse files Browse the repository at this point in the history
  • Loading branch information
scottopell committed May 13, 2024
1 parent 6879780 commit 1e6f2fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
### Changed
- Added lading version to initial welcome print msg.
### Fixed
- Range values in the dogstatsd payload will now generate the full inclusive
range. Previously, values were generated up to but not including the `max`
Expand Down
3 changes: 2 additions & 1 deletion lading/src/bin/lading.rs
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,8 @@ fn main() -> Result<(), Error> {
.finish()
.init();

info!("Starting lading run.");
let version = env!("CARGO_PKG_VERSION");
info!("Starting lading {version} run.");
let opts: Opts = Opts::parse();

// handle extra commands
Expand Down

0 comments on commit 1e6f2fa

Please sign in to comment.