Sha256: 354dd4887949f003a812639777c4d9f8b9118cde6649f593ee558f9ed6c0d2b7
Contents?: true
Size: 451 Bytes
Versions: 63
Compression:
Stored size: 451 Bytes
Contents
module VagrantPlugins module ProviderVirtualBox module Action class DiscardState def initialize(app, env) @app = app end def call(env) if env[:machine].state.id == :saved env[:ui].info I18n.t("vagrant.actions.vm.discard_state.discarding") env[:machine].provider.driver.discard_saved_state end @app.call(env) end end end end end
Version data entries
63 entries across 56 versions & 8 rubygems