Fix compilation warning on otel_telemetry (#46)
Fix of `Warning: variable 'Ctx' is unused` on compilation logs.
This commit is contained in:
parent
d7eb7b8a24
commit
f12a635d9d
|
@ -149,7 +149,7 @@ handle_event(_Event,
|
||||||
_Measurements,
|
_Measurements,
|
||||||
Metadata,
|
Metadata,
|
||||||
#{type := stop, tracer_id := TracerId}) ->
|
#{type := stop, tracer_id := TracerId}) ->
|
||||||
Ctx = set_current_telemetry_span(TracerId, Metadata),
|
_Ctx = set_current_telemetry_span(TracerId, Metadata),
|
||||||
end_telemetry_span(TracerId, Metadata),
|
end_telemetry_span(TracerId, Metadata),
|
||||||
ok;
|
ok;
|
||||||
handle_event(_Event,
|
handle_event(_Event,
|
||||||
|
|
Loading…
Reference in New Issue