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)