Make job query on metric stats generic

This commit is contained in:
2024-07-12 13:21:19 +02:00
parent 68a97dc980
commit c61ffce0e9
5 changed files with 159 additions and 64 deletions

View File

@@ -48,7 +48,6 @@ func (r *jobResolver) ConcurrentJobs(ctx context.Context, obj *schema.Job) (*mod
// Footprint is the resolver for the footprint field.
func (r *jobResolver) Footprint(ctx context.Context, obj *schema.Job) ([]*model.FootprintValue, error) {
rawFootprint, err := r.Repo.FetchFootprint(obj)
if err != nil {
log.Warn("Error while fetching job footprint data")
return nil, err