summaryrefslogtreecommitdiff
path: root/poll.go
diff options
context:
space:
mode:
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
}