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