Commit 8382b253 authored by Igor Drozdov's avatar Igor Drozdov

Merge branch '257438-fj-fix-deprecation-warnings-usage-data' into 'master'

Fix Ruby 2.7 deprecation warnings in UsageData

See merge request gitlab-org/gitlab!43526
parents 6dd78e33 b0d41054
...@@ -702,10 +702,10 @@ module Gitlab ...@@ -702,10 +702,10 @@ module Gitlab
counter = Gitlab::UsageDataCounters::EditorUniqueCounter counter = Gitlab::UsageDataCounters::EditorUniqueCounter
{ {
action_monthly_active_users_web_ide_edit: redis_usage_data { counter.count_web_ide_edit_actions(date_range) }, action_monthly_active_users_web_ide_edit: redis_usage_data { counter.count_web_ide_edit_actions(**date_range) },
action_monthly_active_users_sfe_edit: redis_usage_data { counter.count_sfe_edit_actions(date_range) }, action_monthly_active_users_sfe_edit: redis_usage_data { counter.count_sfe_edit_actions(**date_range) },
action_monthly_active_users_snippet_editor_edit: redis_usage_data { counter.count_snippet_editor_edit_actions(date_range) }, action_monthly_active_users_snippet_editor_edit: redis_usage_data { counter.count_snippet_editor_edit_actions(**date_range) },
action_monthly_active_users_ide_edit: redis_usage_data { counter.count_edit_using_editor(date_range) } action_monthly_active_users_ide_edit: redis_usage_data { counter.count_edit_using_editor(**date_range) }
} }
end 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