From f2898927f1b92d3c8cd9e7c63ce27dee7e6ae88f Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Thu, 29 Jun 2017 22:40:14 +0100 Subject: PLT-6474: Server: Add elasticsearch/test endpoint to API. (#6792) --- einterfaces/elasticsearch.go | 1 + 1 file changed, 1 insertion(+) (limited to 'einterfaces') 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 -- cgit v1.2.3-1-g7c22