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
7b4de75b
Commit
7b4de75b
authored
Nov 15, 2021
by
nmilojevic1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Rubocop errors
parent
7120fc47
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lib/gitlab/redis/multi_store.rb
lib/gitlab/redis/multi_store.rb
+1
-1
spec/lib/gitlab/redis/multi_store_spec.rb
spec/lib/gitlab/redis/multi_store_spec.rb
+1
-1
No files found.
lib/gitlab/redis/multi_store.rb
View file @
7b4de75b
...
...
@@ -69,7 +69,7 @@ module Gitlab
end
def
method_missing
(
...
)
return
@instance
.
send
(
...
)
if
@instance
return
@instance
.
send
(
...
)
if
@instance
# rubocop:disable GitlabSecurity/PublicSend
log_method_missing
(
...
)
...
...
spec/lib/gitlab/redis/multi_store_spec.rb
View file @
7b4de75b
...
...
@@ -236,7 +236,7 @@ RSpec.describe Gitlab::Redis::MultiStore do
context
'with both primary and secondary store using same redis instance'
do
let
(
:primary_store
)
{
create_redis_store
(
redis_store_class
.
params
,
db:
primary_db
,
serializer:
nil
)
}
let
(
:secondary_store
)
{
create_redis_store
(
redis_store_class
.
params
,
db:
primary_db
,
serializer:
nil
)
}
let
(
:secondary_store
)
{
create_redis_store
(
redis_store_class
.
params
,
db:
primary_db
,
serializer:
nil
)
}
let
(
:multi_store
)
{
described_class
.
new
(
primary_store
,
secondary_store
,
instance_name
)}
it_behaves_like
'secondary store'
...
...
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