Merge pull request #686 from influxdata/bugfix/tr-missing-version

Fix missing version
pull/695/head
Nathan Haugo 2016-12-13 13:48:58 -08:00 committed by GitHub
commit a09499e484
1 changed files with 5 additions and 5 deletions

View File

@ -10,15 +10,15 @@ import (
// Build flags
var (
Version = ""
Commit = ""
version = ""
commit = ""
)
func main() {
srv := server.Server{
BuildInfo: server.BuildInfo{
Version: Version,
Commit: Commit,
Version: version,
Commit: commit,
},
}
@ -37,7 +37,7 @@ func main() {
}
if srv.ShowVersion {
log.Printf("Chronograf %s (git: %s)\n", Version, Commit)
log.Printf("Chronograf %s (git: %s)\n", version, commit)
os.Exit(0)
}