update to support new makefile
This commit is contained in:
parent
c2cf126ff3
commit
f76cbd9f84
|
@ -6,3 +6,5 @@ const BuildDate = "N/A"
|
||||||
const EOLDate = "N/A"
|
const EOLDate = "N/A"
|
||||||
|
|
||||||
const Version = "0.0.1-SNAPSHOT"
|
const Version = "0.0.1-SNAPSHOT"
|
||||||
|
|
||||||
|
const BuildNumber = "001"
|
||||||
|
|
2
main.go
2
main.go
|
@ -49,7 +49,7 @@ func main() {
|
||||||
terminalFooter := ""
|
terminalFooter := ""
|
||||||
|
|
||||||
app := framework.NewApp("console", "INFINI Cloud Console, The easiest way to operate your own elasticsearch platform.",
|
app := framework.NewApp("console", "INFINI Cloud Console, The easiest way to operate your own elasticsearch platform.",
|
||||||
config.Version, config.LastCommitLog, config.BuildDate, config.EOLDate, terminalHeader, terminalFooter)
|
config.Version,config.BuildNumber, config.LastCommitLog, config.BuildDate, config.EOLDate, terminalHeader, terminalFooter)
|
||||||
|
|
||||||
app.Init(nil)
|
app.Init(nil)
|
||||||
defer app.Shutdown()
|
defer app.Shutdown()
|
||||||
|
|
Loading…
Reference in New Issue