From 4e6cc846a618ecef5c101727bbd03f6674044ab7 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 17 Jan 2018 12:38:37 -0600 Subject: Finally remove utils.Cfg (#8113) * finally remove utils.Cfg * fix compile error * another test compilation fix --- jobs/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jobs') 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) -- cgit v1.2.3-1-g7c22