Browse Source

Fix a warning using Printf without any formatting

Matthew L Daniel 7 years ago
parent
commit
900c375231
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.go

+ 1 - 1
main.go

@@ -100,7 +100,7 @@ func (a *Accesses) Healthz(w http.ResponseWriter, r *http.Request, ps httprouter
 func (a *Accesses) recordPrices() {
 	go func() {
 		for {
-			log.Printf("Recording prices...")
+			log.Print("Recording prices...")
 			data, err := costModel.ComputeCostData(a.PrometheusClient, a.KubeClientSet, a.Cloud, "1h")
 			if err != nil {
 				log.Printf("Error in price recording: " + err.Error())