expose meteData directory
This commit is contained in:
parent
93b1759804
commit
d8377074a4
|
@ -19,6 +19,7 @@
|
||||||
|
|
||||||
package org.elasticsearch.cluster.routing.allocation;
|
package org.elasticsearch.cluster.routing.allocation;
|
||||||
|
|
||||||
|
import org.elasticsearch.cluster.metadata.MetaData;
|
||||||
import org.elasticsearch.cluster.node.DiscoveryNodes;
|
import org.elasticsearch.cluster.node.DiscoveryNodes;
|
||||||
import org.elasticsearch.cluster.routing.RoutingNodes;
|
import org.elasticsearch.cluster.routing.RoutingNodes;
|
||||||
import org.elasticsearch.cluster.routing.RoutingTable;
|
import org.elasticsearch.cluster.routing.RoutingTable;
|
||||||
|
@ -88,6 +89,10 @@ public class RoutingAllocation {
|
||||||
return routingNodes;
|
return routingNodes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public MetaData metaData() {
|
||||||
|
return routingNodes.metaData();
|
||||||
|
}
|
||||||
|
|
||||||
public DiscoveryNodes nodes() {
|
public DiscoveryNodes nodes() {
|
||||||
return nodes;
|
return nodes;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue