Remove explicit boolean comparison

pull/3368/head
Chris Bednarski 10 years ago
parent f3011698ba
commit d7cfd5d01c

@ -45,7 +45,7 @@ func (s *StepRegister) Cleanup(state multistep.StateBag) {
_, cancelled := state.GetOk(multistep.StateCancelled)
_, halted := state.GetOk(multistep.StateHalted)
if (config.KeepRegistered == true) && (!cancelled && !halted) {
if (config.KeepRegistered) && (!cancelled && !halted) {
ui.Say("Keeping virtual machine registered with ESX host (keep_registered = true)")
return
}

Loading…
Cancel
Save