Update frontend; Remove debug logging

This commit is contained in:
Lou Knauer
2022-02-02 13:59:08 +01:00
parent 3e7b89aebb
commit 4f431d0236
4 changed files with 8 additions and 5 deletions

View File

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