Skip to content

Commit ccf3bcf

Browse files
committed
fix
1 parent 5490492 commit ccf3bcf

File tree

1 file changed

+1
-1
lines changed
  • instrumentation/spring/spring-webflux/spring-webflux-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webflux/v5_3

1 file changed

+1
-1
lines changed

instrumentation/spring/spring-webflux/spring-webflux-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webflux/v5_3/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)