Sha256: 4462599093360c5a6887e13806efbd02008c0e47ba51b3069f521783fa5cf410
Contents?: true
Size: 606 Bytes
Versions: 3
Compression:
Stored size: 606 Bytes
Contents
module HashiCorp module VagrantVMwareworkstation 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