Fix loop definition

This commit is contained in:
Christoph Kluge 2022-03-21 14:14:48 +01:00
parent b87cc767c7
commit 686e5eaa0e

View File

@ -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(`