Adapt job iterator

* Add option to also load Job Metric Data
* Validate Job Metric Data
* Allow null values in series array
This commit is contained in:
Jan Eitzinger
2023-03-31 15:28:35 +02:00
parent bfee9d847b
commit 559445900d
6 changed files with 71 additions and 29 deletions

View File

@@ -29,7 +29,7 @@ func main() {
}
ar := archive.GetHandle()
for jobMeta := range ar.Iter() {
log.Printf("Validate %s - %d\n", jobMeta.Cluster, jobMeta.JobID)
for job := range ar.Iter(true) {
log.Printf("Validate %s - %d\n", job.Meta.Cluster, job.Meta.JobID)
}
}