summaryrefslogtreecommitdiff
path: root/watchdog.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-15 12:16:27 -0600
committerJeff Carr <[email protected]>2025-02-15 12:21:34 -0600
commit5e837be94b272f6b69b0b68ed070617adcf83ba2 (patch)
tree98c485ee2ef2814560da360f0351894cc6f814af /watchdog.go
parent46e329f4190bb5b41b1ec5ecf89e319a626f8d63 (diff)
move some common things to forgepb
Diffstat (limited to 'watchdog.go')
-rw-r--r--watchdog.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/watchdog.go b/watchdog.go
index e6587a8..5d1b4a2 100644
--- a/watchdog.go
+++ b/watchdog.go
@@ -31,7 +31,7 @@ func NewWatchdog() {
return
case _ = <-me.dog.C:
// log.Info("Watchdog() ticked", me.zookeeper, "Current time: ", t)
- s := me.machine.UpdatePackages()
+ s := me.forge.Machine.UpdatePackages()
// pingStatus()
me.failcount += 1
sendMachine(s)