mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-23 12:51:40 +02:00
Update frontend; Remove debug logging
This commit is contained in:
@@ -6,7 +6,6 @@ import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"log"
|
||||
"net/http"
|
||||
"time"
|
||||
|
||||
@@ -467,7 +466,6 @@ func (ccms *CCMetricStore) LoadNodeData(cluster, partition string, metrics, node
|
||||
|
||||
if nodes == nil {
|
||||
for _, metric := range metrics {
|
||||
log.Printf("local-name: %s, remote-name: %s, renamings: %#v", metric, ccms.toRemoteName(metric), ccms.here2there)
|
||||
req.ForAllNodes = append(req.ForAllNodes, ccms.toRemoteName(metric))
|
||||
}
|
||||
} else {
|
||||
@@ -496,8 +494,6 @@ func (ccms *CCMetricStore) LoadNodeData(cluster, partition string, metrics, node
|
||||
query = req.Queries[i]
|
||||
}
|
||||
|
||||
log.Printf("results for %#v: %#v\n", query, res)
|
||||
|
||||
metric := ccms.toLocalName(query.Metric)
|
||||
qdata := res[0]
|
||||
if qdata.Error != nil {
|
||||
|
Reference in New Issue
Block a user