Skip to content

Commit 9ca7542

Browse files
committed
Remove compilation warning
1 parent 93ef51c commit 9ca7542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/logger_json/plug/metadata_formatters/datadog_logger.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ if Code.ensure_loaded?(Plug) do
6464
end
6565

6666
if Code.ensure_loaded?(Phoenix.Router) do
67-
defp phoenix_route(%{private: %{phoenix_router: router}, method: method, request_path: path, host: host} = conn) do
67+
defp phoenix_route(%{private: %{phoenix_router: router}, method: method, request_path: path, host: host}) do
6868
case Phoenix.Router.route_info(router, method, path, host) do
6969
%{route: route} -> route
7070
_ -> nil

0 commit comments

Comments
 (0)