diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -35,10 +35,11 @@ func main() { me.names = append(me.names, s) log.Info("Making a hypervisor struct for", s) - var h HyperT + h := new(HyperT) h.Hostname = s h.Autoscan = true h.Delay = 5 * time.Second + h.lastpoll = time.Now() h.Scan = func() { h.pollHypervisor() } |
