Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix deprecation warnings #29

Merged
merged 2 commits into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/config.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is responsible for configuring your application
# and its dependencies with the aid of the Mix.Config module.
use Mix.Config
import Config

config :kayrock,
connection_opts: [
Expand Down
2 changes: 1 addition & 1 deletion lib/kayrock/error_code.ex
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ defmodule Kayrock.ErrorCode do
end

def code_to_atom(code) do
Logger.warn("Unknown error code #{inspect(code)}")
Logger.warning("Unknown error code #{inspect(code)}")
:unknown
end

Expand Down
2 changes: 1 addition & 1 deletion lib/kayrock/message_set.ex
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ defmodule Kayrock.MessageSet do
@type t :: %__MODULE__{}
end

use Bitwise
import Bitwise

defstruct messages: [], magic: 0

Expand Down
2 changes: 1 addition & 1 deletion lib/kayrock/record_batch.ex
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ defmodule Kayrock.RecordBatch do

@type t :: %__MODULE__{}

use Bitwise
import Bitwise

alias Kayrock.Compression
alias Kayrock.MessageSet
Expand Down
Loading