From fea27b98457880e13a125739a246c8ade62a1865 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Tue, 2 Mar 2021 21:16:38 +0200 Subject: [PATCH] lib/promscrape: go fmt --- lib/promscrape/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/promscrape/config.go b/lib/promscrape/config.go index 5ca2e5eae..77029f7be 100644 --- a/lib/promscrape/config.go +++ b/lib/promscrape/config.go @@ -893,7 +893,7 @@ func getParamsFromLabels(labels []prompbmarshal.Label, paramsOrig map[string][]s func mergeLabels(job, scheme, target, metricsPath string, extraLabels, externalLabels, metaLabels map[string]string, params map[string][]string) []prompbmarshal.Label { // See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config - m := make(map[string]string, 4 + len(externalLabels) + len(params) + len(extraLabels) + len(metaLabels)) + m := make(map[string]string, 4+len(externalLabels)+len(params)+len(extraLabels)+len(metaLabels)) for k, v := range externalLabels { m[k] = v }