fix hypervisor active logic upsidedown
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
ccbdef1a13
commit
aa6b142b7c
|
@ -66,9 +66,9 @@ func readHypervisorFile(filename string) {
|
|||
name := fields[0]
|
||||
h := addHypervisor(name)
|
||||
if len(fields) < 2 || fields[1] != "active" {
|
||||
h.Active = true
|
||||
} else {
|
||||
h.Active = false
|
||||
} else {
|
||||
h.Active = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue