go fmt
This commit is contained in:
committed by
Alexander Trost
parent
3c343fb0a2
commit
33bb722e06
@@ -38,6 +38,7 @@ Options:
|
||||
-h --help Show this screen.
|
||||
--version Show version
|
||||
--immediate Tick immediately (by default waits for first defined interval)
|
||||
--restarted Get open incidents before start monitoring (if monitor died or restarted)
|
||||
|
||||
Environment varaibles:
|
||||
CACHET_API override API url from configuration
|
||||
@@ -58,6 +59,10 @@ func main() {
|
||||
cfg.Immediate = immediate.(bool)
|
||||
}
|
||||
|
||||
if restarted, ok := arguments["--restarted"]; ok {
|
||||
cfg.Restarted = restarted.(bool)
|
||||
}
|
||||
|
||||
if name := arguments["--name"]; name != nil {
|
||||
cfg.SystemName = name.(string)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user