Use build timestamp version in TUI display
The TUI agent state was using CARGO_PKG_VERSION (0.1.0) instead of version::current_version() which returns the RFC 3339 build timestamp.
This commit is contained in:
parent
65fbf3bb31
commit
1192774e30
1 changed files with 1 additions and 1 deletions
|
|
@ -246,7 +246,7 @@ async fn async_main() {
|
|||
let event_bus = tui::EventBus::new(100);
|
||||
let agent_state = Arc::new(Mutex::new(tui::AgentState::new(
|
||||
hostname,
|
||||
env!("CARGO_PKG_VERSION").to_string(),
|
||||
version::current_version().to_string(),
|
||||
)));
|
||||
|
||||
// Spawn TUI task
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue