summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go12
1 files changed, 7 insertions, 5 deletions
diff --git a/main.go b/main.go
index bae1d78..5cffdda 100644
--- a/main.go
+++ b/main.go
@@ -39,15 +39,17 @@ func main() {
me.hostname, _ = os.Hostname()
me.pollDelay = 10 * time.Second
me.machines = zoopb.NewMachines()
- me.machines2 = 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)
- }
+ /*
+ 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