summaryrefslogtreecommitdiff
path: root/poll.go
diff options
context:
space:
mode:
Diffstat (limited to 'poll.go')
-rw-r--r--poll.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/poll.go b/poll.go
index 6d7ebc7..2979052 100644
--- a/poll.go
+++ b/poll.go
@@ -56,6 +56,7 @@ func (h *HyperT) pollHypervisor() {
}
}
h.lastpoll = time.Now()
+ h.killcount = 0 // poll worked. reset killcount
}
func findDroplet(name string) *DropletT {
@@ -88,7 +89,7 @@ func clusterHealthy() bool {
good = false
d.CurrentState = "MISSING"
}
- l := shell.FormatDuration(dur)
+ l := shell.FormatDuration(dur)
if l == "" {
log.Info("DUR IS EMPTY", dur)
}