mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-27 05:49:04 +01:00
parent
5764937c7a
commit
5c6d6dfa67
2
frontend
2
frontend
@ -1 +1 @@
|
|||||||
Subproject commit d8b1232bcbf02543d6edc1e5e36b6ea484473b9a
|
Subproject commit 984532dbf2a05d670c90a16cba9c93de813e304a
|
@ -530,7 +530,8 @@ func (ccms *CCMetricStore) LoadNodeData(cluster, partition string, metrics, node
|
|||||||
}
|
}
|
||||||
|
|
||||||
if qdata.Avg.IsNaN() || qdata.Min.IsNaN() || qdata.Max.IsNaN() {
|
if qdata.Avg.IsNaN() || qdata.Min.IsNaN() || qdata.Max.IsNaN() {
|
||||||
return nil, fmt.Errorf("fetching %s for node %s failed: %s", metric, query.Hostname, "avg/min/max is NaN")
|
// return nil, fmt.Errorf("fetching %s for node %s failed: %s", metric, query.Hostname, "avg/min/max is NaN")
|
||||||
|
qdata.Avg, qdata.Min, qdata.Max = 0., 0., 0.
|
||||||
}
|
}
|
||||||
|
|
||||||
hostdata, ok := data[query.Hostname]
|
hostdata, ok := data[query.Hostname]
|
||||||
|
Loading…
Reference in New Issue
Block a user