Skip to content

Commit

Permalink
Update lib/mongo/messages.ex
Browse files Browse the repository at this point in the history
Co-authored-by: Rodolfo Carvalho <[email protected]>
  • Loading branch information
zookzook and rhcarvalho authored Sep 19, 2023
1 parent c87a078 commit 34ad292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mongo/messages.ex
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ defmodule Mongo.Messages do
defrecord :section, [:payload_type, :payload]
defrecord :op_msg, [:flags, :sections]

@decode_module Application.compile_env(:mongodb_driver, :decoder, BSON.Decoder)
@decoder_module Application.compile_env(:mongodb_driver, :decoder, BSON.Decoder)

Check warning on line 50 in lib/mongo/messages.ex

View workflow job for this annotation

GitHub Actions / Compile and Test (5.0)

module attribute @decoder_module was set but never used

Check warning on line 50 in lib/mongo/messages.ex

View workflow job for this annotation

GitHub Actions / Compile and Test (6.0)

module attribute @decoder_module was set but never used

@doc """
Decodes the header from response of a request sent by the mongodb server
Expand Down

0 comments on commit 34ad292

Please sign in to comment.