summaryrefslogtreecommitdiffstats
path: root/jobs
diff options
context:
space:
mode:
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)