Fix output of `status` with multi-vm to be correct. [closes GH-196]
This commit is contained in:
parent
eda116cbe3
commit
af9fdef791
|
@ -1,6 +1,6 @@
|
|||
## 0.6.7 (unreleased)
|
||||
|
||||
|
||||
- Fix output of `vagrant status` with multi-vm to be correct. [GH-196]
|
||||
|
||||
## 0.6.6 (October 14, 2010)
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ module Vagrant
|
|||
def route
|
||||
state = nil
|
||||
results = target_vms.collect do |vm|
|
||||
state ||= vm.created? ? vm.vm.state.to_s : "not_created"
|
||||
state = vm.created? ? vm.vm.state.to_s : "not_created"
|
||||
"#{vm.name.to_s.ljust(25)}#{state.gsub("_", " ")}"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue