From 210a7d3136f38cf13a487360153750d80399de9e Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Thu, 14 Nov 2024 19:13:07 +0100 Subject: [PATCH] Debugging initDB archive import Footprint working EnergyFootprint still missing --- internal/importer/initDB.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/importer/initDB.go b/internal/importer/initDB.go index 5f06f36..afcde77 100644 --- a/internal/importer/initDB.go +++ b/internal/importer/initDB.go @@ -81,7 +81,7 @@ func InitDB() error { name := fmt.Sprintf("%s_%s", fp, statType) - job.Footprint[fp] = repository.LoadJobStat(jobMeta, name, statType) + job.Footprint[name] = repository.LoadJobStat(jobMeta, fp, statType) } job.RawFootprint, err = json.Marshal(job.Footprint)