Skip to content

Commit

Permalink
Fix comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
russointroitoa committed Apr 21, 2024
1 parent 3bbe116 commit 2348e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sidekiq/grouping/redis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def server_version
# @return [<Type>] <description>
#
def pluck_script
if server_version >= "6.2.0"
if Gem::Version.new(server_version) >= Gem::Version.new("6.2.0")
PLUCK_SCRIPT_GTE_6_2_0
else
PLUCK_SCRIPT_LT_6_2_0
Expand Down

0 comments on commit 2348e48

Please sign in to comment.