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 1235abc..cb3359d 100644
--- a/watchdog.go
+++ b/watchdog.go
@@ -48,7 +48,7 @@ func NewWatchdog() {
for loop.Scan() {
m := loop.Next()
counter += 1
- zood := m.Packages.FindByName("zood")
+ zood := m.Packages.FindByPackage("zood")
if zood == nil {
log.Info("machine", m.Hostname, "does not have zood installed")
} else {