Exception: Tapjoy::AutoscalingBootstrap::Errors::ELB::ClobberRequired

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/tapjoy/autoscaling_bootstrap/errors/elb.rb

Overview

Raise if we try to overwrite an unclobbered ELB

Instance Method Summary collapse

Constructor Details

#initializeClobberRequired

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