summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go2
-rw-r--r--structs.go2
2 files changed, 0 insertions, 4 deletions
diff --git a/main.go b/main.go
index 2d9c9cd..3f685dd 100644
--- a/main.go
+++ b/main.go
@@ -9,7 +9,6 @@ import (
"time"
"go.wit.com/dev/alexflint/arg"
- "go.wit.com/lib/protobuf/forgepb"
"go.wit.com/lib/protobuf/zoopb"
"go.wit.com/log"
)
@@ -44,7 +43,6 @@ func main() {
me.pollDelay = 3 * time.Second
me.failcountmax = 20 // die every minute if zookeeper can't be found
- me.forge = forgepb.InitPB()
me.machine = zoopb.InitMachine()
zood() // talks to zookeeper
diff --git a/structs.go b/structs.go
index bb07847..802a5a7 100644
--- a/structs.go
+++ b/structs.go
@@ -6,7 +6,6 @@ package main
import (
"time"
- "go.wit.com/lib/protobuf/forgepb"
"go.wit.com/lib/protobuf/zoopb"
)
@@ -19,7 +18,6 @@ type stuff struct {
pollDelay time.Duration // how often to report our status
dog *time.Ticker // the watchdog timer
machine *zoopb.Machine // populated from protobuf based zoopb
- forge *forgepb.Forge // handle to forge
failcount int // how many times we've failed to contact the zookeeper
failcountmax int // after this, exit and let systemd restart the daemon
}