Commit 16d18671 authored by Shinya Maeda's avatar Shinya Maeda

Merge branch '257438-ruby-2-7-redis-hll-warnings' into 'master'

Fix Ruby 2.7 deprecation warnings for redis hll

See merge request gitlab-org/gitlab!43544
parents 8b4644db 9b35767d
...@@ -7,11 +7,11 @@ module Gitlab ...@@ -7,11 +7,11 @@ module Gitlab
KeyFormatError = Class.new(StandardError) KeyFormatError = Class.new(StandardError)
def self.count(params) def self.count(params)
self.new.count(params) self.new.count(**params)
end end
def self.add(params) def self.add(params)
self.new.add(params) self.new.add(**params)
end end
def count(keys:) def count(keys:)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment