remove unused variable

This commit is contained in:
Shay Banon 2013-08-23 21:32:22 +02:00
parent c688ed6c9f
commit 7791f2612d
1 changed files with 0 additions and 2 deletions

View File

@ -179,8 +179,6 @@ public class AllocationService extends AbstractComponent {
}
private boolean reroute(RoutingAllocation allocation) {
Iterable<DiscoveryNode> dataNodes = allocation.nodes().dataNodes().values();
boolean changed = false;
// first, clear from the shards any node id they used to belong to that is now dead
changed |= deassociateDeadNodes(allocation);