From c28604b524de692567684621b7272ff35321bb47 Mon Sep 17 00:00:00 2001 From: Christoph Kluge Date: Tue, 29 Mar 2022 15:53:44 +0200 Subject: [PATCH] Fix LoadNodeData definition for influxv2client --- metricdata/influxdb-v2.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metricdata/influxdb-v2.go b/metricdata/influxdb-v2.go index 0299ba9..11a8235 100644 --- a/metricdata/influxdb-v2.go +++ b/metricdata/influxdb-v2.go @@ -300,9 +300,9 @@ func (idb *InfluxDBv2DataRepository) LoadStats(job *schema.Job, metrics []string return stats, nil } -func (idb *InfluxDBv2DataRepository) LoadNodeData(cluster, partition string, metrics, nodes []string, scopes []schema.MetricScope, from, to time.Time, ctx context.Context) (map[string]map[string][]*schema.JobMetric, error) { +func (idb *InfluxDBv2DataRepository) LoadNodeData(cluster string, metrics, nodes []string, scopes []schema.MetricScope, from, to time.Time, ctx context.Context) (map[string]map[string][]*schema.JobMetric, error) { // TODO : Implement to be used in Analysis- und System/Node-View - log.Println(fmt.Sprintf("LoadNodeData unimplemented for InfluxDBv2DataRepository, Args: cluster %s, partition %s, metrics %v, nodes %v, scopes %v", cluster, partition, metrics, nodes, scopes)) + log.Println(fmt.Sprintf("LoadNodeData unimplemented for InfluxDBv2DataRepository, Args: cluster %s, metrics %v, nodes %v, scopes %v", cluster, metrics, nodes, scopes)) return nil, errors.New("unimplemented for InfluxDBv2DataRepository") }