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:
Renan DelValle 2019-03-22 20:47:42 -07:00
parent fee20090d0
commit d1097f33ac
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
3 changed files with 40 additions and 16 deletions

View file

@ -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"