summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go8
1 files changed, 1 insertions, 7 deletions
diff --git a/main.go b/main.go
index 2b240d1..2d9c9cd 100644
--- a/main.go
+++ b/main.go
@@ -10,7 +10,6 @@ import (
"go.wit.com/dev/alexflint/arg"
"go.wit.com/lib/protobuf/forgepb"
- "go.wit.com/lib/protobuf/httppb"
"go.wit.com/lib/protobuf/zoopb"
"go.wit.com/log"
)
@@ -48,10 +47,5 @@ func main() {
me.forge = forgepb.InitPB()
me.machine = zoopb.InitMachine()
- go NewWatchdog()
-
- err := httppb.StartHTTP(okHandler, argv.Port)
- if err != nil {
- log.Info("StartHTTP() err =", err)
- }
+ zood() // talks to zookeeper
}