Fixing enterprise commands (#4960)
Этот коммит содержится в:
коммит произвёл
Corey Hulen
родитель
3e7a59b7b9
Коммит
4b1ffcb0bd
@@ -4,6 +4,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/mattermost/platform/api"
|
"github.com/mattermost/platform/api"
|
||||||
|
"github.com/mattermost/platform/model"
|
||||||
"github.com/mattermost/platform/utils"
|
"github.com/mattermost/platform/utils"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
@@ -38,4 +39,7 @@ func initDBCommandContext(configFileLocation string) {
|
|||||||
|
|
||||||
api.NewServer()
|
api.NewServer()
|
||||||
api.InitStores()
|
api.InitStores()
|
||||||
|
if model.BuildEnterpriseReady == "true" {
|
||||||
|
api.LoadLicense()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user