Commit a6ac362b authored by Peter Leitzen's avatar Peter Leitzen

Merge branch '257438-fix-current-settings-kwargs-deprecation' into 'master'

Fix Ruby 2.7 kwargs deprecation warning in current_settings

See merge request gitlab-org/gitlab!47762
parents 0d08ba3b 7adee358
...@@ -16,8 +16,8 @@ module Gitlab ...@@ -16,8 +16,8 @@ module Gitlab
@in_memory_application_settings = nil @in_memory_application_settings = nil
end end
def method_missing(name, *args, &block) def method_missing(name, *args, **kwargs, &block)
current_application_settings.send(name, *args, &block) # rubocop:disable GitlabSecurity/PublicSend current_application_settings.send(name, *args, **kwargs, &block) # rubocop:disable GitlabSecurity/PublicSend
end end
def respond_to_missing?(name, include_private = false) def respond_to_missing?(name, include_private = false)
......
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