Debugging initDB archive import

Footprint working
EnergyFootprint still missing
This commit is contained in:
Jan Eitzinger 2024-11-14 19:13:07 +01:00
parent 92ec64d80f
commit 210a7d3136
Signed by: moebiusband
GPG Key ID: 2574BA29B90D6DD5

View File

@ -81,7 +81,7 @@ func InitDB() error {
name := fmt.Sprintf("%s_%s", fp, statType) 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) job.RawFootprint, err = json.Marshal(job.Footprint)