summaryrefslogtreecommitdiffstats
path: root/einterfaces
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2017-06-29 22:40:14 +0100
committerJoram Wilander <jwawilander@gmail.com>2017-06-29 17:40:14 -0400
commitf2898927f1b92d3c8cd9e7c63ce27dee7e6ae88f (patch)
treef29a8058cf581d128502b2da532fc551aa1101b9 /einterfaces
parenta4f363a50b7807de9ac086ee0e62442a7645f5e8 (diff)
downloadchat-f2898927f1b92d3c8cd9e7c63ce27dee7e6ae88f.tar.gz
chat-f2898927f1b92d3c8cd9e7c63ce27dee7e6ae88f.tar.bz2
chat-f2898927f1b92d3c8cd9e7c63ce27dee7e6ae88f.zip
PLT-6474: Server: Add elasticsearch/test endpoint to API. (#6792)
Diffstat (limited to 'einterfaces')
-rw-r--r--einterfaces/elasticsearch.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/einterfaces/elasticsearch.go b/einterfaces/elasticsearch.go
index 61e1d532f..af89b38a5 100644
--- a/einterfaces/elasticsearch.go
+++ b/einterfaces/elasticsearch.go
@@ -10,6 +10,7 @@ type ElasticSearchInterface interface {
IndexPost(post *model.Post, teamId string)
SearchPosts(channels *model.ChannelList, searchParams []*model.SearchParams) ([]string, *model.AppError)
DeletePost(postId string)
+ TestConfig() *model.AppError
}
var theElasticSearchInterface ElasticSearchInterface