Jelajahi Sumber

Fix klog typo

Matthew L Daniel 7 tahun lalu
induk
melakukan
c491a629b2
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      main.go

+ 1 - 1
main.go

@@ -165,7 +165,7 @@ func main() {
 	klog.InitFlags(nil)
 	flag.Set("v", "3")
 	flag.Parse()
-	klog.V(1).Info("Starting cost-model (git commit \"%s\")", gitCommit)
+	klog.V(1).Infof("Starting cost-model (git commit \"%s\")", gitCommit)
 
 	address := os.Getenv(prometheusServerEndpointEnvVar)
 	if address == "" {