Fix suspend action to work again
This commit is contained in:
parent
2a7f0d8a85
commit
71c39126e5
|
@ -7,9 +7,9 @@ module Vagrant
|
||||||
end
|
end
|
||||||
|
|
||||||
def call(env)
|
def call(env)
|
||||||
if env["vm"].vm.running?
|
if env[:vm].vm.running?
|
||||||
env.ui.info I18n.t("vagrant.actions.vm.suspend.suspending")
|
env[:ui].info I18n.t("vagrant.actions.vm.suspend.suspending")
|
||||||
env["vm"].vm.save_state
|
env[:vm].vm.save_state
|
||||||
end
|
end
|
||||||
|
|
||||||
@app.call(env)
|
@app.call(env)
|
||||||
|
|
Loading…
Reference in New Issue