MM-27169: Remove uneeded fields from App (#15408)
* MM-27169: Remove uneeded fields from App https://mattermost.atlassian.net/browse/MM-27169 * run app-layers * Bring back searchengine Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
f0fc51244c
Коммит
b329635b23
@@ -97,18 +97,6 @@ type AppOptionCreator func() []AppOption
|
||||
func ServerConnector(s *Server) AppOption {
|
||||
return func(a *App) {
|
||||
a.srv = s
|
||||
a.log = s.Log
|
||||
a.notificationsLog = s.NotificationsLog
|
||||
|
||||
a.cluster = s.Cluster
|
||||
a.compliance = s.Compliance
|
||||
a.dataRetention = s.DataRetention
|
||||
a.searchEngine = s.SearchEngine
|
||||
a.messageExport = s.MessageExport
|
||||
a.metrics = s.Metrics
|
||||
|
||||
a.httpService = s.HTTPService
|
||||
a.imageProxy = s.ImageProxy
|
||||
a.timezones = s.timezones
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user