|
@@ -119,7 +119,7 @@ func customResourceScorer(nodeName string) int64 {
|
|
|
curr_uuid, ok := nodes[nodeName]
|
|
|
|
|
|
if ok {
|
|
|
- command := fmt.Sprintf("SELECT ipc from system_metrics where uuid = %s order by time desc limit 1", curr_uuid)
|
|
|
+ command := fmt.Sprintf("SELECT ipc from system_metrics where uuid = '%s' order by time desc limit 1", curr_uuid)
|
|
|
q := client.NewQuery(command, "evolve", "")
|
|
|
if response, err := c.Query(q); err == nil && response.Error() == nil {
|
|
|
klog.Infof("%v", response.Results)
|