Sha256: e2851964b5093eeb73a4f183cd6e4c0d20e8c4bc9a0779107210382fe2d70ff0
Contents?: true
Size: 605 Bytes
Versions: 3
Compression:
Stored size: 605 Bytes
Contents
module VagrantPlugins module ProviderVirtualBox module Action class SnapshotDelete def initialize(app, env) @app = app end def call(env) env[:ui].info(I18n.t("vagrant_snap.actions.vm.snapshot_delete.deleting", :snapshot => env[:snap_name]), ) env[:result] = env[:machine].provider.driver.snapshot_delete(env[:snap_name]) @app.call(env) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems