Explorar o código

Add fmt var to message

Ajay Tripathy %!s(int64=5) %!d(string=hai) anos
pai
achega
f2ce9ca668
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 {