mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
build: move version to a single place
Instead of trying to copy Akvorado version around, move it to a single place, which can be imported by everything else.
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
"fmt"
|
||||
|
||||
"akvorado/common/daemon"
|
||||
"akvorado/common/helpers"
|
||||
"akvorado/common/reporter"
|
||||
)
|
||||
|
||||
@@ -33,7 +34,7 @@ func StartStopComponents(r *reporter.Reporter, daemonComponent daemon.Component,
|
||||
}
|
||||
|
||||
r.Info().
|
||||
Str("version", Version).
|
||||
Str("version", helpers.AkvoradoVersion).
|
||||
Msg("akvorado has started")
|
||||
|
||||
<-daemonComponent.Terminated()
|
||||
|
||||
Reference in New Issue
Block a user