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>
Этот коммит содержится в:
Scott Bishel
2020-10-12 13:36:24 -06:00
коммит произвёл 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
}