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:
parent
01a921a8e3
commit
f15666f82e
|
@ -187,8 +187,8 @@ public class IndexDeprecationChecks {
|
|||
indexMetaData.getSettings().get("index.shared_filesystem") != null) {
|
||||
return new DeprecationIssue(DeprecationIssue.Level.CRITICAL,
|
||||
"[index.shared_filesystem] setting should be removed",
|
||||
"https://www.elastic.co/guide/en/elasticsearch/reference/master/" +
|
||||
"breaking_60_settings_changes.html#_shadow_replicas_have_been_removed", null);
|
||||
"https://www.elastic.co/guide/en/elasticsearch/reference/6.0/" +
|
||||
"breaking_60_indices_changes.html#_shadow_replicas_have_been_removed", null);
|
||||
|
||||
}
|
||||
return null;
|
||||
|
|
|
@ -159,7 +159,7 @@ public class IndexDeprecationChecksTests extends ESTestCase {
|
|||
assertSettingsAndIssue("index.shared_filesystem", "true",
|
||||
new DeprecationIssue(DeprecationIssue.Level.CRITICAL,
|
||||
"[index.shared_filesystem] setting should be removed",
|
||||
"https://www.elastic.co/guide/en/elasticsearch/reference/master/" +
|
||||
"breaking_60_settings_changes.html#_shadow_replicas_have_been_removed", null));
|
||||
"https://www.elastic.co/guide/en/elasticsearch/reference/6.0/" +
|
||||
"breaking_60_indices_changes.html#_shadow_replicas_have_been_removed", null));
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue