Fix resume action to work properly
This commit is contained in:
parent
71c39126e5
commit
9e58e45c69
|
@ -7,9 +7,9 @@ module Vagrant
|
||||||
end
|
end
|
||||||
|
|
||||||
def call(env)
|
def call(env)
|
||||||
if env["vm"].vm.saved?
|
if env[:vm].vm.saved?
|
||||||
env.ui.info I18n.t("vagrant.actions.vm.resume.resuming")
|
env[:ui].info I18n.t("vagrant.actions.vm.resume.resuming")
|
||||||
env["actions"].run(Boot)
|
env[:action_runner].run(Boot, env)
|
||||||
end
|
end
|
||||||
|
|
||||||
@app.call(env)
|
@app.call(env)
|
||||||
|
|
Loading…
Reference in New Issue