Skip to content

Commit

Permalink
Merge pull request sneako#232 from solar05/patch-1
Browse files Browse the repository at this point in the history
Fix calls to deprecated Logger.warn/2
  • Loading branch information
sneako authored Jun 28, 2023
2 parents a8d568d + 8e30ba3 commit a83ce23
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
matrix:
include:
- pair:
elixir: "1.7.4"
elixir: "1.11.4"
otp: "22.x"
- pair:
elixir: "1.14.5"
Expand Down
4 changes: 2 additions & 2 deletions lib/finch/http2/pool.ex
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ defmodule Finch.HTTP2.Pool do
end

:unknown ->
Logger.warn(["Received unknown message: ", inspect(message)])
Logger.warning(["Received unknown message: ", inspect(message)])
:keep_state_and_data
end
end
Expand Down Expand Up @@ -437,7 +437,7 @@ defmodule Finch.HTTP2.Pool do
end

:unknown ->
Logger.warn(["Received unknown message: ", inspect(message)])
Logger.warning(["Received unknown message: ", inspect(message)])
:keep_state_and_data
end
end
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ defmodule Finch.MixProject do
[
app: :finch,
version: @version,
elixir: "~> 1.7",
elixir: "~> 1.11",
description: "An HTTP client focused on performance.",
package: package(),
docs: docs(),
Expand Down

0 comments on commit a83ce23

Please sign in to comment.