summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-15 20:59:23 -0600
committerJeff Carr <[email protected]>2024-11-15 20:59:23 -0600
commit7dd5d6d2b165a91993fb532429189a481eebc366 (patch)
tree211bee013fb95cc0da8320bfeddb944250416066 /main.go
parent141d3024fd4a32d5485e873308ae6414c4867a28 (diff)
sending a machine protobuf
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go
index f540f6f..1eb6adc 100644
--- a/main.go
+++ b/main.go
@@ -20,6 +20,7 @@ import (
"time"
"go.wit.com/dev/alexflint/arg"
+ "go.wit.com/lib/protobuf/zoopb"
"go.wit.com/log"
)
@@ -46,6 +47,7 @@ func main() {
me = new(stuff)
me.hostname, _ = os.Hostname()
me.pollDelay = 10 * time.Second
+ me.machines = new(zoopb.Machines)
go NewWatchdog()