Niko Kovacevic пре 6 година
родитељ
комит
1b55eff2aa
1 измењених фајлова са 0 додато и 2 уклоњено
  1. 0 2
      costmodel/router.go

+ 0 - 2
costmodel/router.go

@@ -715,14 +715,12 @@ func (a *Accesses) OutOfClusterCostsWithCache(w http.ResponseWriter, r *http.Req
 	// attempt to retrieve cost data from cache
 	key := fmt.Sprintf(`%s:%s:%s`, start, end, aggregation)
 	if value, found := a.OutOfClusterCache.Get(key); found && !disableCache {
-		klog.V(1).Infof("out of cluser cache hit: %s", key)
 		if data, ok := value.([]*costAnalyzerCloud.OutOfClusterAllocation); ok {
 			w.Write(wrapDataWithMessage(data, nil, fmt.Sprintf("out of cluser cache hit: %s", key)))
 			return
 		}
 		klog.Errorf("caching error: failed to type cast data: %s", key)
 	}
-	klog.V(1).Infof("out of cluster cache miss: %s", key)
 
 	data, err := a.Cloud.ExternalAllocations(start, end, aggregation)
 	if err == nil {