diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-02-28 16:39:25 -0500 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2017-02-28 16:39:25 -0500 |
commit | 5e9adddb6f19a8d18d568871559495ea51b401ae (patch) | |
tree | adb7f82df01611d56f6f31b6e870afd0540a1b71 /cmd/platform/oldcommands.go | |
parent | 5a3bc43668353e41949d2d48c8956eaa9d061860 (diff) | |
download | chat-5e9adddb6f19a8d18d568871559495ea51b401ae.tar.gz chat-5e9adddb6f19a8d18d568871559495ea51b401ae.tar.bz2 chat-5e9adddb6f19a8d18d568871559495ea51b401ae.zip |
Reload license from DB for all cluster app servers (#5525)
* Reload license from DB for all cluster app servers
* Increase test timeout
Diffstat (limited to 'cmd/platform/oldcommands.go')
-rw-r--r-- | cmd/platform/oldcommands.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/platform/oldcommands.go b/cmd/platform/oldcommands.go index 15ebb25ba..518dcbaaf 100644 --- a/cmd/platform/oldcommands.go +++ b/cmd/platform/oldcommands.go @@ -77,7 +77,7 @@ func doLegacyCommands() { web.InitWeb() if model.BuildEnterpriseReady == "true" { - api.LoadLicense() + app.LoadLicense() } runCmds() @@ -1002,7 +1002,7 @@ func cmdUploadLicense() { flushLogAndExit(1) } - if _, err := api.SaveLicense(fileBytes); err != nil { + if _, err := app.SaveLicense(fileBytes); err != nil { l4g.Error("%v", err) flushLogAndExit(1) } else { |