From db2f6cf0766543b6d9e9fb4ecd10947ce60b46b9 Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Fri, 7 Jul 2017 15:36:17 +0100 Subject: 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. --- cmd/platform/server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd') diff --git a/cmd/platform/server.go b/cmd/platform/server.go index 1edb6c2f3..3413472da 100644 --- a/cmd/platform/server.go +++ b/cmd/platform/server.go @@ -120,8 +120,8 @@ func runServer(configFileLocation string) { einterfaces.GetMetricsInterface().StartServer() } - if einterfaces.GetElasticSearchInterface() != nil { - if err := einterfaces.GetElasticSearchInterface().Start(); err != nil { + if einterfaces.GetElasticsearchInterface() != nil { + if err := einterfaces.GetElasticsearchInterface().Start(); err != nil { l4g.Error(err.Error()) } } -- cgit v1.2.3-1-g7c22