Commit 3934a31b authored by Vitali Tatarintev's avatar Vitali Tatarintev

Merge branch 'pl-kwargs-warnings-sentry' into 'master'

Fix Ruby 2.7 kwarg warnings for Sentry client

See merge request gitlab-org/gitlab!43826
parents 1dce6b51 4af21d6e
...@@ -14,7 +14,7 @@ module Sentry ...@@ -14,7 +14,7 @@ module Sentry
}.freeze }.freeze
def list_issues(**keyword_args) def list_issues(**keyword_args)
response = get_issues(keyword_args) response = get_issues(**keyword_args)
issues = response[:issues] issues = response[:issues]
pagination = response[:pagination] pagination = response[:pagination]
...@@ -44,7 +44,7 @@ module Sentry ...@@ -44,7 +44,7 @@ module Sentry
def get_issues(**keyword_args) def get_issues(**keyword_args)
response = http_get( response = http_get(
api_urls.issues_url, api_urls.issues_url,
query: list_issue_sentry_query(keyword_args) query: list_issue_sentry_query(**keyword_args)
) )
{ {
......
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