Sha256: 7bbec5d0cedc0be78aaa995d270155a154ae5e6924c2cab894f7231da6c6d2ab
Contents?: true
Size: 493 Bytes
Versions: 3
Compression:
Stored size: 493 Bytes
Contents
module VagrantPlugins module DockerProvider module Action class Destroy def initialize(app, env) @app = app end def call(env) env[:ui].info I18n.t("vagrant.actions.vm.destroy.destroying") machine = env[:machine] config = machine.provider_config driver = machine.provider.driver driver.rm(machine.id) machine.id = nil @app.call env end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
docker-provider-0.1.0 | lib/docker-provider/action/destroy.rb |
docker-provider-0.0.2 | lib/docker-provider/action/destroy.rb |
docker-provider-0.0.1 | lib/docker-provider/action/destroy.rb |