mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-10 08:57:25 +01:00
Merge pull request #125 from ClusterCockpit/hotfix
Fix bug for histogram only query
This commit is contained in:
commit
05ec0a4973
@ -274,6 +274,8 @@ func (r *queryResolver) JobsStatistics(ctx context.Context, filter []*model.JobF
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
stats = make([]*model.JobsStatistics, 0, 1)
|
stats = make([]*model.JobsStatistics, 0, 1)
|
||||||
|
stats = append(stats,
|
||||||
|
&model.JobsStatistics{})
|
||||||
}
|
}
|
||||||
|
|
||||||
if groupBy != nil {
|
if groupBy != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user