Skip to content

Commit

Permalink
Merge pull request #286 from HubSpot/register_by_ip_updates
Browse files Browse the repository at this point in the history
one more case to not require instance id
  • Loading branch information
ssalinas authored Nov 19, 2018
2 parents 635a71a + f16c922 commit c244417
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c244417

Please sign in to comment.