Sha256: b30e3c249b95b0027243c658b30e04ca93c70edb2f6e424e15ae64f7210b29c8
Contents?: true
Size: 606 Bytes
Versions: 5
Compression:
Stored size: 606 Bytes
Contents
# frozen_string_literal: true module VagrantPlugins module ProviderLibvirt module Action class SnapshotDelete def initialize(app, env) @app = app end def call(env) env[:ui].info(I18n.t( "vagrant.actions.vm.snapshot.deleting", name: env[:snapshot_name])) env[:machine].provider.driver.delete_snapshot(env[:snapshot_name]) env[:ui].success(I18n.t( "vagrant.actions.vm.snapshot.deleted", name: env[:snapshot_name])) @app.call(env) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems