Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
JuArce committed Oct 2, 2024
1 parent 4b15e43 commit fc00cc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions telemetry_api/lib/telemetry_api/traces.ex
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ defmodule TelemetryApi.Traces do
missing_operators =
Operators.list_operators() |> Enum.filter(fn o -> o.id not in trace.responses end)

add_missing_operators(missing_operators)
add_missing_operators(merkle_root, missing_operators)

Tracer.set_attributes(%{status: "completed"})

Expand All @@ -162,7 +162,7 @@ defmodule TelemetryApi.Traces do
end
end

defp add_missing_operators(merkle_root, []), do: :ok
defp add_missing_operators(_merkle_root, []), do: :ok

defp add_missing_operators(merkle_root, missing_operators) do
missing_operators =
Expand Down

0 comments on commit fc00cc5

Please sign in to comment.