Corrected a typo and improved the English in a master-discovery error

This commit is contained in:
Clinton Gormley 2013-05-15 12:39:31 +02:00
parent f92eed8591
commit 4d09e7562a
1 changed files with 1 additions and 1 deletions

View File

@ -556,7 +556,7 @@ public class ZenDiscovery extends AbstractLifecycleComponent<Discovery> implemen
// check to see that we monitor the correct master of the cluster
if (masterFD.masterNode() == null || !masterFD.masterNode().equals(latestDiscoNodes.masterNode())) {
masterFD.restart(latestDiscoNodes.masterNode(), "new cluster stare received and we monitor the wrong master [" + masterFD.masterNode() + "]");
masterFD.restart(latestDiscoNodes.masterNode(), "new cluster state received and we are monitoring the wrong master [" + masterFD.masterNode() + "]");
}
ClusterState.Builder builder = ClusterState.builder().state(newState);