move ZenDiscovery.rejoin to protected

So we can override it from tests and plugins.
This commit is contained in:
Boaz Leskes 2015-09-08 10:57:11 +02:00
parent 2c20658204
commit a2f94f2e2f
1 changed files with 1 additions and 1 deletions

View File

@ -989,7 +989,7 @@ public class ZenDiscovery extends AbstractLifecycleComponent<Discovery> implemen
}
}
private ClusterState rejoin(ClusterState clusterState, String reason) {
protected ClusterState rejoin(ClusterState clusterState, String reason) {
// *** called from within an cluster state update task *** //
assert Thread.currentThread().getName().contains(InternalClusterService.UPDATE_THREAD_NAME);