diff options
Diffstat (limited to 'poll.go')
| -rw-r--r-- | poll.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |
