[MM-52943] fix: enable Elasticsearch properly on restart (#23806)

* fix: enable elasticsearch properly on restart

* use correct method under IsEnabled

* Empty-Commit to retrigger workflow

---------

Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Felipe Martin
2023-06-23 14:59:56 +02:00
коммит произвёл GitHub
родитель 9bc22b633f
Коммит cad2df1259
4 изменённых файлов: 21 добавлений и 1 удалений

Просмотреть файл

@@ -17,6 +17,8 @@ type SearchEngineInterface interface {
GetPlugins() []string
UpdateConfig(cfg *model.Config)
GetName() string
// IsEnabled returns a boolean indicating whether the engine is enabled in the settings
IsEnabled() bool
IsActive() bool
IsIndexingEnabled() bool
IsSearchEnabled() bool