summaryrefslogtreecommitdiff
path: root/configfiles.go
diff options
context:
space:
mode:
Diffstat (limited to 'configfiles.go')
-rw-r--r--configfiles.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/configfiles.go b/configfiles.go
index c633a6d..d9ba578 100644
--- a/configfiles.go
+++ b/configfiles.go
@@ -38,9 +38,7 @@ func readConfigFile() {
h.Delay = 5 * time.Second
h.lastpoll = time.Now()
- h.Scan = func() {
- h.pollHypervisor()
- }
+
me.hypers = append(me.hypers, h)
log.Log(EVENT, "config new hypervisors", h.pb.Hostname)
}