Przeglądaj źródła

Add fmt var to message

Ajay Tripathy 5 lat temu
rodzic
commit
f2ce9ca668
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      pkg/costmodel/costmodel.go

+ 1 - 1
pkg/costmodel/costmodel.go

@@ -739,7 +739,7 @@ func findDeletedNodeInfo(cli prometheusClient.Client, missingNodes map[string]*c
 			if _, ok := missingNodes[node]; ok {
 				missingNodes[node].VCPUCost = fmt.Sprintf("%f", costv[0].Value)
 			} else {
-				log.DedupedWarningf(5, "Node `%s` in prometheus but not k8s api")
+				log.DedupedWarningf(5, "Node `%s` in prometheus but not k8s api", node)
 			}
 		}
 		for node, costv := range ramCosts {