Fix compilation warning on otel_telemetry (#46)

Fix of `Warning: variable 'Ctx' is unused` on compilation logs.
This commit is contained in:
Andrew Rosa 2021-11-28 16:16:37 -03:00 committed by GitHub
parent d7eb7b8a24
commit f12a635d9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ handle_event(_Event,
_Measurements,
Metadata,
#{type := stop, tracer_id := TracerId}) ->
Ctx = set_current_telemetry_span(TracerId, Metadata),
_Ctx = set_current_telemetry_span(TracerId, Metadata),
end_telemetry_span(TracerId, Metadata),
ok;
handle_event(_Event,