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 40ce2ad..f42e516 100644
--- a/watchdog.go
+++ b/watchdog.go
@@ -34,7 +34,7 @@ func NewWatchdog() {
return
case _ = <-me.dog.C:
// log.Info("Watchdog() ticked", me.zookeeper, "Current time: ", t)
- s := me.forge.Machine.UpdatePackages()
+ s := me.machine.UpdatePackages()
// pingStatus()
me.failcount += 1
sendMachine(s)