bugfix: monitor variables were dependent on order in which commands were initialized inside on init(). Using PreRun we can control the value per command called by having the function run only when the function is executed.
This commit is contained in:
parent
fee20090d0
commit
d1097f33ac
3 changed files with 40 additions and 16 deletions
|
@ -29,6 +29,7 @@ var count int64
|
|||
var filename string
|
||||
var message = new(string)
|
||||
var updateID string
|
||||
var statusList = make([]string, 0, 0)
|
||||
var log = logrus.New()
|
||||
|
||||
const australisVer = "v0.0.8"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue