summaryrefslogtreecommitdiff
path: root/watchdog.go
diff options
context:
space:
mode:
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)