Fix links in deprecation checks (elastic/x-pack-elasticsearch#2490)

Some links must have moved since we wrote the tests and released
5.6.0.

relates elastic/x-pack-elasticsearch#2488

Original commit: elastic/x-pack-elasticsearch@ebceee7f3d
This commit is contained in:
Nik Everett 2017-09-13 14:58:14 -04:00
parent 01a921a8e3
commit f15666f82e
2 changed files with 9 additions and 9 deletions

View File

@ -187,8 +187,8 @@ public class IndexDeprecationChecks {
indexMetaData.getSettings().get("index.shared_filesystem") != null) { indexMetaData.getSettings().get("index.shared_filesystem") != null) {
return new DeprecationIssue(DeprecationIssue.Level.CRITICAL, return new DeprecationIssue(DeprecationIssue.Level.CRITICAL,
"[index.shared_filesystem] setting should be removed", "[index.shared_filesystem] setting should be removed",
"https://www.elastic.co/guide/en/elasticsearch/reference/master/" + "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/" +
"breaking_60_settings_changes.html#_shadow_replicas_have_been_removed", null); "breaking_60_indices_changes.html#_shadow_replicas_have_been_removed", null);
} }
return null; return null;

View File

@ -159,7 +159,7 @@ public class IndexDeprecationChecksTests extends ESTestCase {
assertSettingsAndIssue("index.shared_filesystem", "true", assertSettingsAndIssue("index.shared_filesystem", "true",
new DeprecationIssue(DeprecationIssue.Level.CRITICAL, new DeprecationIssue(DeprecationIssue.Level.CRITICAL,
"[index.shared_filesystem] setting should be removed", "[index.shared_filesystem] setting should be removed",
"https://www.elastic.co/guide/en/elasticsearch/reference/master/" + "https://www.elastic.co/guide/en/elasticsearch/reference/6.0/" +
"breaking_60_settings_changes.html#_shadow_replicas_have_been_removed", null)); "breaking_60_indices_changes.html#_shadow_replicas_have_been_removed", null));
} }
} }