Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1461,10 +1461,10 @@ private static DeprecationIssue deprecatedAffixSetting(
if (canBeFixedByRemovingDynamicSetting) {
deprecatedClusterSettingKeys.removeAll(deprecatedNodeSettingKeys);
}
final Map<String, Object> meta = createMetaMapForRemovableSettings(
canBeFixedByRemovingDynamicSetting,
deprecatedClusterSettingKeys
);
/* Removing affix settings can cause more problems than it's worth, so always make meta null even if the settings are only set
* dynamically
*/
final Map<String, Object> meta = null;
return new DeprecationIssue(warningLevel, message, url, details, false, meta);
}

Expand Down Expand Up @@ -1523,7 +1523,10 @@ private static DeprecationIssue deprecatedAffixGroupedSetting(
if (canBeFixedByRemovingDynamicSetting) {
allClusterSubSettingKeys.removeAll(allNodeSubSettingKeys);
}
final Map<String, Object> meta = createMetaMapForRemovableSettings(canBeFixedByRemovingDynamicSetting, allClusterSubSettingKeys);
/* Removing affix settings can cause more problems than it's worth, so always make meta null even if the settings are only set
* dynamically
*/
final Map<String, Object> meta = null;
return new DeprecationIssue(warningLevel, message, url, details, false, meta);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1893,7 +1893,7 @@ void monitoringExporterGroupedSetting(String suffix, String value) throws JsonPr
c -> c.apply(nodeSettings, null, clusterState, licenseState)
);
final String expectedUrl = "https://ela.st/es-deprecation-7-monitoring-settings";
Map<String, Object> meta = buildMetaObjectForRemovableSettings(subSetting1Key2, subSetting2Key2);
Map<String, Object> meta = null;
assertThat(
issues,
hasItem(
Expand Down