summaryrefslogtreecommitdiffstats
path: root/einterfaces
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2017-07-07 17:12:14 +0100
committerJoram Wilander <jwawilander@gmail.com>2017-07-07 12:12:14 -0400
commit39b071bc0e620b24a9dc8b13fcd6ccf5f6732ea5 (patch)
tree6bc32b749d4aeffdb349297055a9b54411e2bf9c /einterfaces
parentdb2f6cf0766543b6d9e9fb4ecd10947ce60b46b9 (diff)
downloadchat-39b071bc0e620b24a9dc8b13fcd6ccf5f6732ea5.tar.gz
chat-39b071bc0e620b24a9dc8b13fcd6ccf5f6732ea5.tar.bz2
chat-39b071bc0e620b24a9dc8b13fcd6ccf5f6732ea5.zip
Add optional config parameter to test elasticsearch endpoint. (#6877)
Diffstat (limited to 'einterfaces')
-rw-r--r--einterfaces/elasticsearch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/einterfaces/elasticsearch.go b/einterfaces/elasticsearch.go
index e4803aa88..f5babffe0 100644
--- a/einterfaces/elasticsearch.go
+++ b/einterfaces/elasticsearch.go
@@ -10,7 +10,7 @@ type ElasticsearchInterface interface {
IndexPost(post *model.Post, teamId string) *model.AppError
SearchPosts(channels *model.ChannelList, searchParams []*model.SearchParams) ([]string, *model.AppError)
DeletePost(postId string) *model.AppError
- TestConfig() *model.AppError
+ TestConfig(cfg *model.Config) *model.AppError
}
var theElasticsearchInterface ElasticsearchInterface