Corrected a typo and improved the English in a master-discovery error
This commit is contained in:
parent
f92eed8591
commit
4d09e7562a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue