mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-10 08:57:25 +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)
|
||||
|
||||
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))
|
||||
|
||||
query := fmt.Sprintf(`
|
||||
|
Loading…
Reference in New Issue
Block a user