Sha256: 9f5364534377a58476c2bae38fea60c585dcb0fc77d027a92694c863ee4755bc
Contents?: true
Size: 574 Bytes
Versions: 18
Compression:
Stored size: 574 Bytes
Contents
require 'vagrant-aws/util/elb' module VagrantPlugins module AWS module Action # This registers instance in ELB class ElbDeregisterInstance include ElasticLoadBalancer def initialize(app, env) @app = app @logger = Log4r::Logger.new("vagrant_aws::action::elb_deregister_instance") end def call(env) if elb_name = env[:machine].provider_config.elb deregister_instance env, elb_name, env[:machine].id end @app.call(env) end end end end end
Version data entries
18 entries across 18 versions & 5 rubygems