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
d9b3cd13
Commit
d9b3cd13
authored
Jan 26, 2021
by
Quang-Minh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix key word arguments warning
parent
6e8ae619
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lib/gitlab/rack_attack/instrumented_cache_store.rb
lib/gitlab/rack_attack/instrumented_cache_store.rb
+2
-2
No files found.
lib/gitlab/rack_attack/instrumented_cache_store.rb
View file @
d9b3cd13
...
@@ -21,9 +21,9 @@ module Gitlab
...
@@ -21,9 +21,9 @@ module Gitlab
[
:fetch
,
:read
,
:read_multi
,
:write_multi
,
:fetch_multi
,
:write
,
:delete
,
[
:fetch
,
:read
,
:read_multi
,
:write_multi
,
:fetch_multi
,
:write
,
:delete
,
:exist?
,
:delete_matched
,
:increment
,
:decrement
,
:cleanup
,
:clear
].
each
do
|
interface
|
:exist?
,
:delete_matched
,
:increment
,
:decrement
,
:cleanup
,
:clear
].
each
do
|
interface
|
define_method
interface
do
|*
args
,
&
block
|
define_method
interface
do
|*
args
,
**
k_args
,
&
block
|
@notifier
.
instrument
(
NOTIFICATION_CHANNEL
,
operation:
interface
)
do
@notifier
.
instrument
(
NOTIFICATION_CHANNEL
,
operation:
interface
)
do
@upstream_store
.
public_send
(
interface
,
*
args
,
&
block
)
# rubocop:disable GitlabSecurity/PublicSend
@upstream_store
.
public_send
(
interface
,
*
args
,
**
k_args
,
&
block
)
# rubocop:disable GitlabSecurity/PublicSend
end
end
end
end
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