mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fixing enterprise commands (#4960)
This commit is contained in:
committed by
Corey Hulen
parent
3e7a59b7b9
commit
4b1ffcb0bd
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user