summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-09 17:24:19 -0500
committerJeff Carr <[email protected]>2025-09-09 17:24:19 -0500
commit1d7b1efa27b0db9419087e777b6c692bc2ced9fb (patch)
treedb7f3ec16d6355757ed202c6b1320460aacde318 /main.go
parent022e411f4804d80e4c5a486a8f47bdc02f935941 (diff)
never open a socket with zoodv0.0.90
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
}