mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-22 20:41:40 +02:00
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:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user