Removed Elasticsearch and Opensearch channel index schedma check (#30102)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
8b65771a31
Коммит
35e776d805
@@ -335,7 +335,3 @@ func (b *BleveEngine) UpdateConfig(cfg *model.Config) {
|
||||
}
|
||||
b.cfg = cfg
|
||||
}
|
||||
|
||||
func (b *BleveEngine) IsChannelsIndexVerified() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
@@ -50,5 +50,4 @@ type SearchEngineInterface interface {
|
||||
PurgeIndexList(rctx request.CTX, indexes []string) *model.AppError
|
||||
RefreshIndexes(rctx request.CTX) *model.AppError
|
||||
DataRetentionDeleteIndexes(rctx request.CTX, cutoff time.Time) *model.AppError
|
||||
IsChannelsIndexVerified() bool
|
||||
}
|
||||
|
||||
@@ -407,24 +407,6 @@ func (_m *SearchEngineInterface) IsAutocompletionEnabled() bool {
|
||||
return r0
|
||||
}
|
||||
|
||||
// IsChannelsIndexVerified provides a mock function with given fields:
|
||||
func (_m *SearchEngineInterface) IsChannelsIndexVerified() bool {
|
||||
ret := _m.Called()
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for IsChannelsIndexVerified")
|
||||
}
|
||||
|
||||
var r0 bool
|
||||
if rf, ok := ret.Get(0).(func() bool); ok {
|
||||
r0 = rf()
|
||||
} else {
|
||||
r0 = ret.Get(0).(bool)
|
||||
}
|
||||
|
||||
return r0
|
||||
}
|
||||
|
||||
// IsEnabled provides a mock function with given fields:
|
||||
func (_m *SearchEngineInterface) IsEnabled() bool {
|
||||
ret := _m.Called()
|
||||
|
||||
Ссылка в новой задаче
Block a user