summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-26 21:13:25 -0500
committerJeff Carr <[email protected]>2024-10-26 21:13:25 -0500
commit5d1729f99ba8968900eaaaa38f74f327730fffd4 (patch)
treed0fe2a24e443e14fe6ffcb28fd1937f8ec0ee0b0 /main.go
parentcec509ae7f3156887a807a50a3e8d6982a236435 (diff)
more cleanups
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.go b/main.go
index 9dcd3dc..a5ef467 100644
--- a/main.go
+++ b/main.go
@@ -148,8 +148,11 @@ func main() {
// start the watchdog polling for each hypervisor
for _, h := range me.hypers {
log.Info("starting polling on", h.pb.Hostname)
+
// inititialize the search directories on each hypervisor
h.sendDirs()
+
+ // start a watchdog on each hypervisor
go h.NewWatchdog()
}