Class: VagrantPlugins::AwsAlbTargetGroup::Action::RemoveInstance
- Defined in:
- lib/vagrant-aws-alb-target-group/action/remove_instance.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from VagrantPlugins::AwsAlbTargetGroup::Action::Base
Instance Method Details
#call(env) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/vagrant-aws-alb-target-group/action/remove_instance.rb', line 8 def call(env) super env do |instance_id, target_group_name| @aws.remove_instance(instance_id, target_group_name) @machine.ui.info("Remove instance #{instance_id} to #{target_group_name}.") end end |