summaryrefslogtreecommitdiff
path: root/poll.go
diff options
context:
space:
mode:
Diffstat (limited to 'poll.go')
-rw-r--r--poll.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/poll.go b/poll.go
index b575889..4051356 100644
--- a/poll.go
+++ b/poll.go
@@ -123,6 +123,7 @@ func (h *HyperT) pollHypervisor() {
}
if d.Current.State == pb.DropletState_OFF {
log.Info(header, "droplet timed out and is off. remove from h.lastDroplets[] slice")
+ delete(h.lastDroplets, name)
continue
}