mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-19 03:11:40 +02:00
Add convenience routines to unit package
This commit is contained in:
@@ -366,3 +366,16 @@ func loadJobStat(job *schema.JobMeta, metric string) float64 {
|
||||
|
||||
return 0.0
|
||||
}
|
||||
|
||||
func checkJobData(d *schema.JobData) error {
|
||||
// for name, scopes := range *d {
|
||||
|
||||
// for scope, metric := range scopes {
|
||||
// // 1. Unit normalisation
|
||||
|
||||
// }
|
||||
// // 2. Add node scope if missing
|
||||
|
||||
// }
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user