diff options
Diffstat (limited to 'event.go')
| -rw-r--r-- | event.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -100,14 +100,14 @@ func Start(name string) (bool, string) { // make the list of hypervisors that are active and can start new droplets var pool []*HyperT for _, h := range me.hypers { - result += fmt.Sprintln("could start droplet on", name, "on", h.pb.Hostname, h.Active) + result += fmt.Sprintln("could start droplet on", name, "on", h.pb.Hostname, h.pb.Active) if d.hyperPreferred == h.pb.Hostname { // the config file says this droplet should run on this hypervisor a, b := h.Start(d) return a, result + b } - if h.Active != true { + if h.pb.Active != true { continue } pool = append(pool, h) |
