Skip to content

Fix Ruby 2.7 deprecation warnings for redis hll

Alina Mihaila requested to merge 257438-ruby-2-7-redis-hll-warnings into master

What does this MR do?

As mentioned in https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/, Ruby 2.7 introduces the following deprecation warning:

warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call

With this MR we remove warnings for lib/gitlab/redis/hll.rb

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related with #257438 (closed)

Edited by Alina Mihaila

Merge request reports