mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 05:19:05 +01:00
Fix loop definition
This commit is contained in:
parent
b87cc767c7
commit
686e5eaa0e
@ -237,7 +237,7 @@ func (idb *InfluxDBv2DataRepository) LoadStats(job *schema.Job, metrics []string
|
|||||||
|
|
||||||
// lenMet := len(metrics)
|
// lenMet := len(metrics)
|
||||||
|
|
||||||
for index, metric := range metrics {
|
for _, metric := range metrics {
|
||||||
// log.Println(fmt.Sprintf("<< You are here: %s (Index %d of %d metrics)", metric, index, lenMet))
|
// log.Println(fmt.Sprintf("<< You are here: %s (Index %d of %d metrics)", metric, index, lenMet))
|
||||||
|
|
||||||
query := fmt.Sprintf(`
|
query := fmt.Sprintf(`
|
||||||
|
Loading…
Reference in New Issue
Block a user