summaryrefslogtreecommitdiffstats
path: root/jobs
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2018-01-17 12:38:37 -0600
committerHarrison Healey <harrisonmhealey@gmail.com>2018-01-17 13:38:37 -0500
commit4e6cc846a618ecef5c101727bbd03f6674044ab7 (patch)
tree1fc093b4b338acf34180c93f30a32de50e17d089 /jobs
parentdce061630530c467966378ae3c5adbcf4a09e34f (diff)
downloadchat-4e6cc846a618ecef5c101727bbd03f6674044ab7.tar.gz
chat-4e6cc846a618ecef5c101727bbd03f6674044ab7.tar.bz2
chat-4e6cc846a618ecef5c101727bbd03f6674044ab7.zip
Finally remove utils.Cfg (#8113)
* finally remove utils.Cfg * fix compile error * another test compilation fix
Diffstat (limited to 'jobs')
-rw-r--r--jobs/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/server.go b/jobs/server.go
index 9a59fad3f..4015d581e 100644
--- a/jobs/server.go
+++ b/jobs/server.go
@@ -61,7 +61,7 @@ func (srv *JobServer) LoadLicense() {
if len(licenseId) != 26 {
// Lets attempt to load the file from disk since it was missing from the DB
- _, licenseBytes = utils.GetAndValidateLicenseFileFromDisk()
+ _, licenseBytes = utils.GetAndValidateLicenseFileFromDisk(*srv.ConfigService.Config().ServiceSettings.LicenseFileLocation)
} else {
if result := <-srv.Store.License().Get(licenseId); result.Err == nil {
record := result.Data.(*model.LicenseRecord)