Skip to content

Commit 34e8d38

Browse files
committed
ES-9508 Shared data path setting deprecation
1 parent 4401764 commit 34e8d38

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,7 @@ static DeprecationIssue checkSharedDataPathSetting(
251251
"setting [%s] is deprecated and will be removed in a future version",
252252
Environment.PATH_SHARED_DATA_SETTING.getKey()
253253
);
254-
final String url = "https://www.elastic.co/guide/en/elasticsearch/reference/7.13/"
255-
+ "breaking-changes-7.13.html#deprecate-shared-data-path-setting";
254+
final String url = "https://ela.st/es-deprecation-7-shared-data-path";
256255
final String details = "Found shared data path configured. Discontinue use of this setting.";
257256
return new DeprecationIssue(DeprecationIssue.Level.WARNING, message, url, details, false, null);
258257
}

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,7 @@ public void testSharedDataPathSetting() {
160160
SINGLE_NODE_CHECKS,
161161
c -> c.apply(settings, null, ClusterState.EMPTY_STATE, new XPackLicenseState(() -> 0))
162162
);
163-
final String expectedUrl =
164-
"https://www.elastic.co/guide/en/elasticsearch/reference/7.13/breaking-changes-7.13.html#deprecate-shared-data-path-setting";
163+
final String expectedUrl = "https://ela.st/es-deprecation-7-shared-data-path";
165164
assertThat(
166165
issues,
167166
contains(

0 commit comments

Comments
 (0)