summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2017-07-07 15:36:17 +0100
committerGitHub <noreply@github.com>2017-07-07 15:36:17 +0100
commitdb2f6cf0766543b6d9e9fb4ecd10947ce60b46b9 (patch)
treebadd2021308c320d893824bc1ac1b28ba92d384d /utils
parent0495a519499d6cefa289982a94d8f42de541c1f0 (diff)
downloadchat-db2f6cf0766543b6d9e9fb4ecd10947ce60b46b9.tar.gz
chat-db2f6cf0766543b6d9e9fb4ecd10947ce60b46b9.tar.bz2
chat-db2f6cf0766543b6d9e9fb4ecd10947ce60b46b9.zip
PLT-6976: Elasticsearch capitalisation and tests. (#6839)
* Fixes Elasticsearch to have consistent capitalisation everywhere across the code and UI (except the config file unfortunately). * Adds basic unit tests for Elastichsearch. * Adds a Elasticsearch docker image to the Makefile to enable testing the Elasticsearch feature.
Diffstat (limited to 'utils')
-rw-r--r--utils/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/config.go b/utils/config.go
index 22ece13a4..f8ceccc2c 100644
--- a/utils/config.go
+++ b/utils/config.go
@@ -536,7 +536,7 @@ func getClientConfig(c *model.Config) map[string]string {
props["PasswordRequireSymbol"] = strconv.FormatBool(*c.PasswordSettings.Symbol)
}
- if *License.Features.ElasticSearch {
+ if *License.Features.Elasticsearch {
props["ElasticSearchEnableIndexing"] = strconv.FormatBool(*c.ElasticSearchSettings.EnableIndexing)
props["ElasticSearchEnableSearching"] = strconv.FormatBool(*c.ElasticSearchSettings.EnableSearching)
}