When `node.data` is set to `false`, the upgrade shards process from 0.18 fails, closes #1793.

This commit is contained in:
Shay Banon 2012-03-18 11:55:35 +02:00
parent 6046e7c6eb
commit d25c4cc914
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ public class DiscoveryNode implements Streamable, Serializable {
}
public static boolean dataNode(Settings settings) {
String data = settings.get("data");
String data = settings.get("node.data");
if (data == null) {
return !clientNode(settings);
}