Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
2e83ca72
Commit
2e83ca72
authored
Sep 28, 2020
by
Dallas Reedy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve kwargs deprecation for experimentation.rb
For Ruby 2.7 & eventual upgrade to Ruby 3.0
parent
7e237b81
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/gitlab/experimentation.rb
lib/gitlab/experimentation.rb
+1
-1
No files found.
lib/gitlab/experimentation.rb
View file @
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment