diff options
author | George Goldberg <george@gberg.me> | 2017-06-29 22:40:14 +0100 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2017-06-29 17:40:14 -0400 |
commit | f2898927f1b92d3c8cd9e7c63ce27dee7e6ae88f (patch) | |
tree | f29a8058cf581d128502b2da532fc551aa1101b9 /einterfaces | |
parent | a4f363a50b7807de9ac086ee0e62442a7645f5e8 (diff) | |
download | chat-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.go | 1 |
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 |