Exception: Tapjoy::AutoscalingBootstrap::Errors::ELB::ClobberRequired
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Tapjoy::AutoscalingBootstrap::Errors::ELB::ClobberRequired
- Defined in:
- lib/tapjoy/autoscaling_bootstrap/errors/elb.rb
Overview
Raise if we try to overwrite an unclobbered ELB
Instance Method Summary collapse
-
#initialize ⇒ ClobberRequired
constructor
A new instance of ClobberRequired.
Constructor Details
#initialize ⇒ ClobberRequired
Returns a new instance of ClobberRequired.
7 8 9 10 11 12 |
# File 'lib/tapjoy/autoscaling_bootstrap/errors/elb.rb', line 7 def initialize elb_name = Tapjoy::AutoscalingBootstrap.elb_name error = 'CLOBBER_ELB env var was not true, CREATE_ELB setting was ' \ "true and ELB '#{elb_name}' exists so we are aborting." abort(error) end |