Sha256: bd4200da8f8c9b287cb8066a802cc2a991750402c8576dfd2ea25f5c57e41968
Contents?: true
Size: 601 Bytes
Versions: 3
Compression:
Stored size: 601 Bytes
Contents
module HashiCorp module VagrantVMwarefusion 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