summaryrefslogtreecommitdiff
path: root/watchdog.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-21 19:48:09 -0600
committerJeff Carr <[email protected]>2024-11-21 19:48:09 -0600
commit22d49578c99e7c77ca7f6bd4691e3d88a7cfc7f5 (patch)
treebf72bc245dccbd82beca9e77130e9b0f5bfa1db0 /watchdog.go
parentf5144e4b8ae85d86e7d8172b2aa9d6b3da3e8835 (diff)
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 9db2471..e6587a8 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 := updatePackages()
+ s := me.machine.UpdatePackages()
// pingStatus()
me.failcount += 1
sendMachine(s)