diff --git a/BaragonService/src/main/java/com/hubspot/baragon/service/elb/ApplicationLoadBalancer.java b/BaragonService/src/main/java/com/hubspot/baragon/service/elb/ApplicationLoadBalancer.java index 2064cf82e..9b97013df 100644 --- a/BaragonService/src/main/java/com/hubspot/baragon/service/elb/ApplicationLoadBalancer.java +++ b/BaragonService/src/main/java/com/hubspot/baragon/service/elb/ApplicationLoadBalancer.java @@ -790,10 +790,6 @@ private void guaranteeHasAllTargets(TrafficSource trafficSource, } else { LOG.debug("Agent {} is already registered", agent); } - } else { - throw new IllegalArgumentException( - String.format("Agent instance ID must be present to register with an ELB (Agent %s)", - agent.toString())); } } catch (Exception exn) { LOG.error("Could not create request to register agent {} due to error", agent, exn);