diff options
| author | Jeff Carr <[email protected]> | 2025-03-22 16:41:27 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-23 09:32:50 -0500 |
| commit | f90c4af25ee18068cffdb1501f7c0f31c538aee0 (patch) | |
| tree | 2ea93f368527f821ed318a2d0b9319c89d8a79e0 /main.go | |
| parent | fc82e095ef933d152bc8a627ff6f67a8589c1c6f (diff) | |
show virtigod version
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -39,19 +39,11 @@ func main() { me.hostname, _ = os.Hostname() me.pollDelay = time.Hour me.machines = zoopb.NewMachines() - // me.machines2 = zoopb.NewMachines() if err := me.machines.ConfigLoad(); err != nil { log.Warn("load config failed", err) os.Exit(-1) } - /* - if err := me.machines2.ConfigLoad(); err != nil { - log.Warn("load config failed", err) - os.Exit(-1) - } - */ - // me.targets = make(map[string]string) // keep track of what versions the machines should be running - me.upgrade = make(map[string]bool) // used to trigger upgrade attempts + // me.upgrade = make(map[string]bool) // used to trigger upgrade attempts go NewWatchdog() |
