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
8ab995da
Commit
8ab995da
authored
Nov 18, 2019
by
Mark Chao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename to field_name_table
parent
7952d442
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ee/lib/gitlab/elastic/indexer.rb
ee/lib/gitlab/elastic/indexer.rb
+1
-1
ee/spec/lib/gitlab/elastic/indexer_spec.rb
ee/spec/lib/gitlab/elastic/indexer_spec.rb
+1
-1
No files found.
ee/lib/gitlab/elastic/indexer.rb
View file @
8ab995da
...
...
@@ -107,7 +107,7 @@ module Gitlab
def
elasticsearch_config
(
target
)
config
=
Gitlab
::
CurrentSettings
.
elasticsearch_config
.
dup
config
[
:
transform_tables
]
=
target
.
real_class
::
GITALY_TRANSFORM_TABLES
config
[
:
field_name_table
]
=
target
.
real_class
::
GITALY_TRANSFORM_TABLES
config
[
:index_name
]
=
target
.
index_name
config
.
to_json
end
...
...
ee/spec/lib/gitlab/elastic/indexer_spec.rb
View file @
8ab995da
...
...
@@ -284,7 +284,7 @@ describe Gitlab::Elastic::Indexer do
def
elasticsearch_config
config
=
Gitlab
::
CurrentSettings
.
elasticsearch_config
.
dup
config
.
merge!
(
transform_tables
:
Elastic
::
Latest
::
GitInstanceProxy
::
GITALY_TRANSFORM_TABLES
,
field_name_table
:
Elastic
::
Latest
::
GitInstanceProxy
::
GITALY_TRANSFORM_TABLES
,
index_name:
'gitlab-test'
)
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