diff options
author | Corey Hulen <corey@hulen.com> | 2017-03-31 06:54:30 -0700 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2017-03-31 09:54:30 -0400 |
commit | 00bb4799899cbbcdf48b147639dee3cee7ea199b (patch) | |
tree | 74881150207ae980b1703644da265fed6886d65d /api | |
parent | fa40bfb9e6f3bcdfe631301be2ee3ce755cbef0e (diff) | |
download | chat-00bb4799899cbbcdf48b147639dee3cee7ea199b.tar.gz chat-00bb4799899cbbcdf48b147639dee3cee7ea199b.tar.bz2 chat-00bb4799899cbbcdf48b147639dee3cee7ea199b.zip |
PLT-6090 adding ability to read license file from disk (#5895)
* PLT-6090 adding ability to read license file from disk
* Fixing unit test that fails only sometimes
* Fixing test that fails randomly
Diffstat (limited to 'api')
-rw-r--r-- | api/license.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/license.go b/api/license.go index ea5de20d4..0e9eb6027 100644 --- a/api/license.go +++ b/api/license.go @@ -68,6 +68,8 @@ func addLicense(c *Context, w http.ResponseWriter, r *http.Request) { c.Err = err return } else { + app.ReloadConfig() + app.InvalidateAllCaches() c.LogAudit("success") w.Write([]byte(license.ToJson())) } |