AjayTripathy 6 лет назад
Родитель
Сommit
c00edd6c93
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      costmodel/cluster.go

+ 1 - 1
costmodel/cluster.go

@@ -54,7 +54,7 @@ func resultToTotals(qr interface{}) ([][]string, error) {
 		return nil, fmt.Errorf("Improperly formatted results from prometheus, result field is not a slice")
 	}
 	if len(results) == 0 {
-		return nil, fmt.Errorf("Not enough data available in the results vector")
+		return nil, fmt.Errorf("Not enough data available in the selected time range")
 	}
 	res, ok := results[0].(map[string]interface{})["values"]
 	totals := [][]string{}