Sha256: 32157c0ad0496c59ff110f63e53d8d46c5fb86810ce93f3c7c396fdc15fe16ef
Contents?: true
Size: 593 Bytes
Versions: 3
Compression:
Stored size: 593 Bytes
Contents
module VagrantPlugins module HyperV 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