Skip to content

Commit 9e20732

Browse files
committed
change field name
1 parent 794dea1 commit 9e20732

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

java-client/src/main/java/co/elastic/clients/transport/rest5_client/Rest5ClientOptions.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ private static String getClientMeta() {
238238
VersionInfo httpClientVersion = null;
239239
try {
240240
httpClientVersion = VersionInfo.loadVersionInfo(
241+
// TODO fix
241242
"org.apache.http.nio.client",
242243
HttpAsyncClientBuilder.class.getClassLoader()
243244
);

java-client/src/main/java/co/elastic/clients/util/LanguageRuntimeVersions.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@
1919

2020
package co.elastic.clients.util;
2121

22-
// Copied verbatim from https://github.com/elastic/jvm-languages-sniffer
22+
// Based on https://github.com/elastic/jvm-languages-sniffer
2323

24-
import javax.annotation.Nullable;
2524
import java.lang.reflect.Field;
2625
import java.lang.reflect.Method;
2726
import java.util.Properties;
@@ -63,7 +62,7 @@ public static String getRuntimeMetadata() {
6362

6463
version = springDataVersion();
6564
if (version != null) {
66-
s.append(",sd-es=").append(version);
65+
s.append(",sd_es=").append(version);
6766
}
6867

6968
return s.toString();

0 commit comments

Comments
 (0)