Commit 4a1667c4 authored by Vitali Tatarintev's avatar Vitali Tatarintev

Merge branch 'pl-kwargs-warnings-metric-dashboard' into 'master'

Fix Ruby 2.7 kwarg warnings for Metric Dashboard

See merge request gitlab-org/gitlab!43821
parents 80d7ef87 40e71cbf
......@@ -80,7 +80,7 @@ module Mutations
raise Gitlab::Graphql::Errors::ArgumentError, ANNOTATION_SOURCE_ARGUMENT_ERROR
end
super(args)
super(**args)
end
def find_object(id:)
......
......@@ -46,7 +46,7 @@ module Gitlab
links&.each do |link|
next unless link.is_a? Hash
Gitlab::UrlBlocker.validate!(link[:url], blocker_args)
Gitlab::UrlBlocker.validate!(link[:url], **blocker_args)
rescue Gitlab::UrlBlocker::BlockedUrlError
link[:url] = ''
end
......
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