lib/hako/schedulers/ecs_elb.rb in hako-0.26.0 vs lib/hako/schedulers/ecs_elb.rb in hako-0.27.0
- old
+ new
@@ -91,13 +91,10 @@
end
end
# @return [Boolean]
def exist?
- describe_load_balancer
- true
- rescue Aws::ElasticLoadBalancing::Errors::LoadBalancerNotFound
- false
+ describe_load_balancer != nil
end
# @return [String]
def name
"hako-#{@app_id}"