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 e82fe2e..defb947 100644
--- a/poll.go
+++ b/poll.go
@@ -111,7 +111,8 @@ func (h *HyperT) pollHypervisor() {
if dur > time.Minute*2 {
// what this means is the droplet probably wasn't migrated or the migrate failed
// where should this be checked? the status needs to be changed to OFF
- log.Info("UNKNOWN state for more than one minute remove map entry here?", name)
+ s := shell.FormatDuration(dur)
+ log.Info("UNKNOWN state for more than 2 minutes (clearing out ?)", name, s)
// it might be safe to set the status to OFF here. not really. this poll needs
// to be moved somewhere else. there needs to be a new goroutine not tied to the