Rename DiscoveryNodes#localNodeMaster to isLocalNodeElectedMaster

Original commit: elastic/x-pack-elasticsearch@ccb685fe9a
This commit is contained in:
javanna 2016-03-30 15:39:02 +02:00 committed by Luca Cavanna
parent 9461dde896
commit 126383439a
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ public abstract class AbstractCollector<T> extends AbstractLifecycleComponent<T>
} }
protected boolean isLocalNodeMaster() { protected boolean isLocalNodeMaster() {
return clusterService.state().nodes().localNodeMaster(); return clusterService.state().nodes().isLocalNodeElectedMaster();
} }
@Override @Override