Sha256: 9b3bfc8067a3b502bef4ac6a7f4705f5f7db7b68ee61cbb48f38244ef18d834f

Contents?: true

Size: 445 Bytes

Versions: 1

Compression:

Stored size: 445 Bytes

Contents

module VagrantPlugins
  module DockerProvider
    module Action
      class Start
        def initialize(app, env)
          @app = app
        end

        def call(env)
          machine = env[:machine]
          driver  = machine.provider.driver

          machine.ui.output(I18n.t("docker_provider.messages.starting"))
          driver.start(machine.id)

          @app.call(env)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-cloudstack-1.2.0 vendor/bundle/bundler/gems/vagrant-c84e05fd063f/plugins/providers/docker/action/start.rb