Skip to content

Commit 97503ab

Browse files
committed
moved to defined
1 parent c6251da commit 97503ab

File tree

7 files changed

+2
-2
lines changed

7 files changed

+2
-2
lines changed

server/src/main/java/org/elasticsearch/TransportVersion.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ private static Map<String, TransportVersion> loadTransportVersionsByName() {
399399
throw new UncheckedIOException("latest transport version file not found at [" + latestLocation + "]", ioe);
400400
}
401401

402-
String manifestLocation = "/transport/constant/manifest.txt";
402+
String manifestLocation = "/transport/defined/manifest.txt";
403403
List<String> versionFileNames = null;
404404
if (latestId > -1) {
405405
try (InputStream inputStream = TransportVersion.class.getResourceAsStream(manifestLocation)) {
@@ -414,7 +414,7 @@ private static Map<String, TransportVersion> loadTransportVersionsByName() {
414414

415415
if (versionFileNames != null) {
416416
for (String name : versionFileNames) {
417-
String versionLocation = "/transport/constant/" + name;
417+
String versionLocation = "/transport/defined/" + name;
418418
try (InputStream inputStream = TransportVersion.class.getResourceAsStream(versionLocation)) {
419419
if (inputStream == null) {
420420
throw new IllegalStateException("transport version file not found at [" + versionLocation + "]");

0 commit comments

Comments
 (0)