Achilleas Tzenetopoulos 5 년 전
부모
커밋
aa048d2c2a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      kubernetes-v1.15.4/pkg/scheduler/algorithm/priorities/custom_resource_allocation.go

+ 1 - 1
kubernetes-v1.15.4/pkg/scheduler/algorithm/priorities/custom_resource_allocation.go

@@ -96,7 +96,7 @@ func customScoreInfluxDB(metrics []string, uuid string, socket,
 	// build the coommand
 	var command strings.Builder
 	fmt.Fprintf(&command, "SELECT %s from socket_metrics where uuid = '%s' and socket_id='%d' order by time desc limit %d", columns, uuid, socket, numberOfRows)
-	klog.Infof("%v", command)
+	klog.Infof("%s", command)
 	q := client.NewQuery(command.String(), cfg.Database.Name, "")
 	response, err := c.Query(q)
 	if err != nil {