Sha256: 489d1ab657b747827bc01278f3258416ae8bf3102be7894fa803fde9bda2b8ba
Contents?: true
Size: 474 Bytes
Versions: 4
Compression:
Stored size: 474 Bytes
Contents
module VagrantPlugins module DockerProvider module Action class Stop def initialize(app, env) @app = app end def call(env) machine = env[:machine] driver = machine.provider.driver if driver.running?(machine.id) env[:ui].info I18n.t("docker_provider.messages.stopping") driver.stop(machine.id) end @app.call(env) end end end end end
Version data entries
4 entries across 4 versions & 2 rubygems