Fix errcheck issues in server/channels/app/platform/service.go (#29366)
Этот коммит содержится в:
@@ -98,7 +98,6 @@ issues:
|
||||
channels/app/permissions_test.go|\
|
||||
channels/app/platform/helper_test.go|\
|
||||
channels/app/platform/license.go|\
|
||||
channels/app/platform/service.go|\
|
||||
channels/app/platform/service_test.go|\
|
||||
channels/app/platform/session.go|\
|
||||
channels/app/platform/status.go|\
|
||||
|
||||
@@ -370,7 +370,10 @@ func New(sc ServiceConfig, options ...Option) (*PlatformService, error) {
|
||||
}
|
||||
})
|
||||
|
||||
ps.SearchEngine.UpdateConfig(ps.Config())
|
||||
if err := ps.SearchEngine.UpdateConfig(ps.Config()); err != nil {
|
||||
ps.logger.Error("Failed to update search engine config", mlog.Err(err))
|
||||
}
|
||||
|
||||
searchConfigListenerId, searchLicenseListenerId := ps.StartSearchEngine()
|
||||
ps.searchConfigListenerId = searchConfigListenerId
|
||||
ps.searchLicenseListenerId = searchLicenseListenerId
|
||||
|
||||
Ссылка в новой задаче
Block a user