From be38e14ff4c2a222a3a894b351be9b4370a10d89 Mon Sep 17 00:00:00 2001 From: "Michal J. Sladek" Date: Mon, 9 Dec 2024 11:10:47 +0100 Subject: [PATCH] fix: Ambiguous method call. (#1402) --- .../main/java/no/nav/vedtak/log/tracing/OtelSpanWrapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/felles/log/src/main/java/no/nav/vedtak/log/tracing/OtelSpanWrapper.java b/felles/log/src/main/java/no/nav/vedtak/log/tracing/OtelSpanWrapper.java index 170317d28..71ef98a70 100644 --- a/felles/log/src/main/java/no/nav/vedtak/log/tracing/OtelSpanWrapper.java +++ b/felles/log/src/main/java/no/nav/vedtak/log/tracing/OtelSpanWrapper.java @@ -60,7 +60,7 @@ public void span(String navn, } } - public V span(String navn, + public V spanCallable(String navn, UnaryOperator spanBuilderTransformer, Callable runnable) throws Exception { var span = startSpan(navn, spanBuilderTransformer);