Skip to content

Commit a6f0eb6

Browse files
committed
ES-9508 Index data path deprecation URL
1 parent 628fcc6 commit a6f0eb6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

x-pack/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/IndexDeprecationChecker.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,7 @@ private DeprecationIssue checkIndexDataPath(IndexMetadata indexMetadata, Cluster
212212
"setting [%s] is deprecated and will be removed in a future version",
213213
IndexMetadata.INDEX_DATA_PATH_SETTING.getKey()
214214
);
215-
final String url = "https://www.elastic.co/guide/en/elasticsearch/reference/7.13/"
216-
+ "breaking-changes-7.13.html#deprecate-shared-data-path-setting";
215+
final String url = "https://ela.st/es-deprecation-7-index-data-path";
217216
final String details = "Found index data path configured. Discontinue use of this setting.";
218217
return new DeprecationIssue(DeprecationIssue.Level.WARNING, message, url, details, false, null);
219218
}

x-pack/plugin/deprecation/src/test/java/org/elasticsearch/xpack/deprecation/IndexDeprecationCheckerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ public void testIndexDataPathSetting() {
506506
emptyPrecomputedData
507507
);
508508
final String expectedUrl =
509-
"https://www.elastic.co/guide/en/elasticsearch/reference/7.13/breaking-changes-7.13.html#deprecate-shared-data-path-setting";
509+
"https://ela.st/es-deprecation-7-index-data-path";
510510
assertThat(
511511
issuesByIndex.get("test"),
512512
contains(

0 commit comments

Comments
 (0)