Skip to content

Commit

Permalink
I suspect we may well have a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Dec 10, 2018
1 parent ff80caf commit 276eb95
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ public LocalDistributor add(Node node) {
out.setPrettyPrint(false).write(node);
span.addTag("node", sb.toString());

// TODO: We should check to see what happens for duplicate nodes.
Host host = new Host(node);
hosts.add(host);
LOG.info(String.format("Added node %s.", node.getId()));
Expand Down

0 comments on commit 276eb95

Please sign in to comment.