Add optional config parameter to test elasticsearch endpoint. (#6877)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
db2f6cf076
Коммит
39b071bc0e
@@ -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
|
||||
|
||||
Ссылка в новой задаче
Block a user