Ignore non-grouped tribe settings

This commit is contained in:
Simon Willnauer 2016-01-27 11:36:20 +01:00
parent 63da9281a9
commit d3db3c6904
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ public class SettingsModule extends AbstractModule {
} }
public void validateTribeSettings(Settings settings, ClusterSettings clusterSettings) { public void validateTribeSettings(Settings settings, ClusterSettings clusterSettings) {
Map<String, Settings> groups = settings.getGroups("tribe."); Map<String, Settings> groups = settings.getGroups("tribe.", true);
for (Map.Entry<String, Settings> tribeSettings : groups.entrySet()) { for (Map.Entry<String, Settings> tribeSettings : groups.entrySet()) {
for (Map.Entry<String, String> entry : tribeSettings.getValue().getAsMap().entrySet()) { for (Map.Entry<String, String> entry : tribeSettings.getValue().getAsMap().entrySet()) {
validateClusterSetting(clusterSettings, entry.getKey(), tribeSettings.getValue()); validateClusterSetting(clusterSettings, entry.getKey(), tribeSettings.getValue());