summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/main.go b/main.go
index d7ec9c9..81b3bc3 100644
--- a/main.go
+++ b/main.go
@@ -8,6 +8,7 @@ import (
"time"
"go.wit.com/dev/alexflint/arg"
+ "go.wit.com/lib/protobuf/forgepb"
"go.wit.com/log"
)
@@ -41,7 +42,10 @@ func main() {
me.pollDelay = 3 * time.Second
me.failcountmax = 20 // die every minute if zookeeper can't be found
- me.machine.ConfigLoad()
+ // me.machine.ConfigLoad()
+
+ me.forge = forgepb.InitPB()
+ me.forge.InitMachine()
go NewWatchdog()