Commit 8ab995da authored by Mark Chao's avatar Mark Chao

Rename to field_name_table

parent 7952d442
......@@ -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
......
......@@ -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
......
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