summaryrefslogtreecommitdiff
path: root/event.go
diff options
context:
space:
mode:
Diffstat (limited to 'event.go')
-rw-r--r--event.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/event.go b/event.go
index 05f8c7f..0150994 100644
--- a/event.go
+++ b/event.go
@@ -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)