From 428f1017ce35efdb65a89869ed98f3f3976aebc7 Mon Sep 17 00:00:00 2001 From: Yao Hong Kok Date: Mon, 29 Aug 2022 11:44:01 -0400 Subject: [PATCH] Fix formatting error from merging Signed-off-by: Yao Hong Kok --- exporter/collector.go | 2 +- exporter/util.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exporter/collector.go b/exporter/collector.go index c12f8690..2ef76b0e 100644 --- a/exporter/collector.go +++ b/exporter/collector.go @@ -39,7 +39,7 @@ type JSONMetric struct { ValueJSONPath string LabelsJSONPaths []string ValueType prometheus.ValueType - ValueConverter config.ValueConverterType + ValueConverter config.ValueConverterType EpochTimestampJSONPath string } diff --git a/exporter/util.go b/exporter/util.go index 0e34c124..d3dbc739 100644 --- a/exporter/util.go +++ b/exporter/util.go @@ -133,7 +133,7 @@ func CreateMetricsList(c config.Module) ([]JSONMetric, error) { ValueJSONPath: valuePath, LabelsJSONPaths: variableLabelsValues, ValueType: valueType, - ValueConverter: valueConverters, + ValueConverter: valueConverters, EpochTimestampJSONPath: metric.EpochTimestamp, } metrics = append(metrics, jsonMetric)