summaryrefslogtreecommitdiff
path: root/poll.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-01 11:17:52 -0500
committerJeff Carr <[email protected]>2024-11-01 11:17:52 -0500
commit301fe567e2318c318c073226475f83941e5da6be (patch)
tree7fd545d73597a705d4560669c0661347e9ac7114 /poll.go
parent2c1c3482fe6b55cf8142e1ad9b2aab5813e44c44 (diff)
getting down to the nitty gritty
Signed-off-by: Jeff Carr <[email protected]>
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
}