Add convenience routines to unit package

This commit is contained in:
Jan Eitzinger
2022-09-28 16:25:26 +02:00
parent 9d9690b2ff
commit 7251344d4a
5 changed files with 200 additions and 2 deletions

View File

@@ -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
}