Skip to content

Commit

Permalink
[Internal] discovery.id.seed is ignored
Browse files Browse the repository at this point in the history
Closes #7439, Closes #7437
  • Loading branch information
nik9000 authored and bleskes committed Aug 25, 2014
1 parent 3917ffc commit 7428786
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -132,7 +132,7 @@ public void publish(ClusterState clusterState, Discovery.AckListener ackListener
public static String generateNodeId(Settings settings) {
String seed = settings.get("discovery.id.seed");
if (seed != null) {
Strings.randomBase64UUID(new Random(Long.parseLong(seed)));
return Strings.randomBase64UUID(new Random(Long.parseLong(seed)));
}
return Strings.randomBase64UUID();
}
Expand Down

0 comments on commit 7428786

Please sign in to comment.