MM-28702 - call InitEnterprise() to initialize Enterprise for cli (#15683)
* call InitServer() to initialize Enterprise for cli * only call initEnterprise * back to InitServer() * move below license load Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
4bd1bdd792
Коммит
66a01205e6
@@ -46,6 +46,7 @@ func InitDBCommandContext(configDSN string) (*app.App, error) {
|
||||
if model.BuildEnterpriseReady == "true" {
|
||||
a.Srv().LoadLicense()
|
||||
}
|
||||
a.InitServer()
|
||||
|
||||
return a, nil
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user