summaryrefslogtreecommitdiff
path: root/poll.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-01 05:50:42 -0500
committerJeff Carr <[email protected]>2024-11-01 05:50:42 -0500
commit0076d3cb2d472bcdafe9cb3372c0c39d9bc4fb3b (patch)
tree3a214bcbebf86a2b79c0baa1fe30ec0a3f51f596 /poll.go
parent720c2e65765563770261ecc3ed71029e6c441300 (diff)
compiles
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'poll.go')
-rw-r--r--poll.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/poll.go b/poll.go
index 46313eb..31579f7 100644
--- a/poll.go
+++ b/poll.go
@@ -49,7 +49,7 @@ func (h *HyperT) pollHypervisor() {
log.Log(WARN, name, "local Adding new entry with AddDropletLocal()")
log.Log(WARN, name, "local Adding new entry with AddDropletLocal()")
me.cluster.AddDropletLocal(name, h.pb.Hostname)
- return
+ continue
}
start := d.SprintHeader()
h.lastDroplets[name] = time.Now()
@@ -78,7 +78,8 @@ func (h *HyperT) pollHypervisor() {
// this should mean a droplet is running where the config file says it probably should be running
if d.PreferredHypervisor == h.pb.Hostname {
- log.Log(EVENT, start, "poll shows new droplet", d.Hostname, "(matches config hypervisor", h.pb.Hostname+")")
+ log.Log(EVENT, start, "poll shows new droplet", d.Hostname,
+ "(matches config hypervisor", h.pb.Hostname+")")
d.Current.Hypervisor = h.pb.Hostname
continue
}