update gofmt

Signed-off-by: yuswift <yuswift2018@gmail.com>
This commit is contained in:
yuswift
2021-07-15 10:10:27 +08:00
parent 8b7a7b3342
commit cd30e6eba5
12 changed files with 25 additions and 25 deletions

View File

@@ -446,9 +446,9 @@ func (h handler) makeQueryOptions(r reqParams, lvl monitoring.Level) (q queryOpt
func exportMetrics(metrics model.Metrics, startTime, endTime time.Time) (*bytes.Buffer, error) {
var resBytes []byte
for i, _ := range metrics.Results {
for i := range metrics.Results {
ret := metrics.Results[i]
for j, _ := range ret.MetricValues {
for j := range ret.MetricValues {
ret.MetricValues[j].TransferToExportedMetricValue()
}
}