`vagrant status` shouldn't call "require_environment"
This commit is contained in:
parent
6db1afff04
commit
b824a48569
|
@ -6,8 +6,6 @@ module Vagrant
|
||||||
register "status"
|
register "status"
|
||||||
|
|
||||||
def route
|
def route
|
||||||
require_environment
|
|
||||||
|
|
||||||
state = nil
|
state = nil
|
||||||
results = env.vms.collect do |name, vm|
|
results = env.vms.collect do |name, vm|
|
||||||
state ||= vm.created? ? vm.vm.state.to_s : "not_created"
|
state ||= vm.created? ? vm.vm.state.to_s : "not_created"
|
||||||
|
|
Loading…
Reference in New Issue