Fix output of `status` with multi-vm to be correct. [closes GH-196]

This commit is contained in:
Mitchell Hashimoto 2010-10-21 17:15:02 -07:00
parent eda116cbe3
commit af9fdef791
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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