From 00bb4799899cbbcdf48b147639dee3cee7ea199b Mon Sep 17 00:00:00 2001 From: Corey Hulen Date: Fri, 31 Mar 2017 06:54:30 -0700 Subject: 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 --- api/license.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'api') 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())) } -- cgit v1.2.3-1-g7c22