Skip to content

Commit 6839e0b

Browse files
committed
fix
1 parent 5a5c06f commit 6839e0b

File tree

1 file changed

+1
-1
lines changed
  • instrumentation/spring/spring-web/spring-web-3.1/library/src/main/java/io/opentelemetry/instrumentation/spring/web/v3_1

1 file changed

+1
-1
lines changed

instrumentation/spring/spring-web/spring-web-3.1/library/src/main/java/io/opentelemetry/instrumentation/spring/web/v3_1/HeaderUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class HeaderUtil {
3030

3131
private static MethodHandle findGetHeadersMethod(MethodType methodType) {
3232
try {
33-
return MethodHandles.lookup().findVirtual(HttpHeaders.class, "getOrDefault", methodType);
33+
return MethodHandles.lookup().findVirtual(HttpHeaders.class, "get", methodType);
3434
} catch (Throwable t) {
3535
return null;
3636
}

0 commit comments

Comments
 (0)