diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/platform/init.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/platform/init.go b/cmd/platform/init.go index 7e07cce8a..7cf941e9c 100644 --- a/cmd/platform/init.go +++ b/cmd/platform/init.go @@ -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() + } } |