Commit 0ce0f696 authored by Igor Drozdov's avatar Igor Drozdov

Merge branch 'resolve-experimentation-kwargs-deprecation' into 'master'

Resolve kwargs deprecation for experimentation.rb

See merge request gitlab-org/gitlab!43622
parents 515715cd 2e83ca72
......@@ -105,7 +105,7 @@ module Gitlab
def track_experiment_event(experiment_key, action, value = nil)
track_experiment_event_for(experiment_key, action, value) do |tracking_data|
::Gitlab::Tracking.event(tracking_data.delete(:category), tracking_data.delete(:action), tracking_data)
::Gitlab::Tracking.event(tracking_data.delete(:category), tracking_data.delete(:action), **tracking_data)
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