Преглед изворни кода

this is irrelevant-- the pod may not have labels

Ajay Tripathy пре 5 година
родитељ
комит
8e2bcb9ede
1 измењених фајлова са 0 додато и 1 уклоњено
  1. 0 1
      pkg/costmodel/costmodel.go

+ 0 - 1
pkg/costmodel/costmodel.go

@@ -736,7 +736,6 @@ func findDeletedPodInfo(cli prometheusClient.Client, missingContainers map[strin
 			cm, _ := NewContainerMetricFromKey(key)
 			labels, ok := podLabels[cm.PodName]
 			if !ok {
-				log.Errorf("unable to find historical data for pod '%s'", cm.PodName)
 				labels = make(map[string]string)
 			}
 			for k, v := range costData.NamespaceLabels {