diff options
author | George Goldberg <george@gberg.me> | 2017-07-07 17:12:14 +0100 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2017-07-07 12:12:14 -0400 |
commit | 39b071bc0e620b24a9dc8b13fcd6ccf5f6732ea5 (patch) | |
tree | 6bc32b749d4aeffdb349297055a9b54411e2bf9c /einterfaces/elasticsearch.go | |
parent | db2f6cf0766543b6d9e9fb4ecd10947ce60b46b9 (diff) | |
download | chat-39b071bc0e620b24a9dc8b13fcd6ccf5f6732ea5.tar.gz chat-39b071bc0e620b24a9dc8b13fcd6ccf5f6732ea5.tar.bz2 chat-39b071bc0e620b24a9dc8b13fcd6ccf5f6732ea5.zip |
Add optional config parameter to test elasticsearch endpoint. (#6877)
Diffstat (limited to 'einterfaces/elasticsearch.go')
-rw-r--r-- | einterfaces/elasticsearch.go | 2 |
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 |