mirror of
https://github.com/mattermost/mattermost.git
synced 2026-05-28 04:35:04 -04:00
Fixing enterprise commands (#4960)
This commit is contained in:
parent
3e7a59b7b9
commit
4b1ffcb0bd
1 changed files with 4 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/mattermost/platform/api"
|
||||
"github.com/mattermost/platform/model"
|
||||
"github.com/mattermost/platform/utils"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
|
@ -38,4 +39,7 @@ func initDBCommandContext(configFileLocation string) {
|
|||
|
||||
api.NewServer()
|
||||
api.InitStores()
|
||||
if model.BuildEnterpriseReady == "true" {
|
||||
api.LoadLicense()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue