Skip to content

Commit

Permalink
ruby2.7 Using the last argument as keyword parameters is deprecated,…
Browse files Browse the repository at this point in the history
…delete second parametr
  • Loading branch information
ilkarataev committed Nov 13, 2023
1 parent 05f3bde commit 9ef88ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mongo/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ def update_description(description)
#
# @api private
def clear_description
@description = Mongo::Server::Description.new(address, **{})
@description = Mongo::Server::Description.new(address)
end

# @param [ Object ] :service_id Close connections with the specified
Expand Down

0 comments on commit 9ef88ef

Please sign in to comment.