From 5c0659244b4dd938da038be76a009e991f669a27 Mon Sep 17 00:00:00 2001 From: Oleg Bespalov Date: Mon, 28 Oct 2024 09:58:04 +0100 Subject: [PATCH] Omit parseEnvs linter issue --- pkg/remotewrite/config.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/remotewrite/config.go b/pkg/remotewrite/config.go index 72a03aa..ffa62c4 100644 --- a/pkg/remotewrite/config.go +++ b/pkg/remotewrite/config.go @@ -286,7 +286,8 @@ func envMap(env map[string]string, prefix string) map[string]string { return result } -func parseEnvs(env map[string]string) (Config, error) { +// TODO: try to migrate to github.com/mstoykov/envconfig like it's done on other projects? +func parseEnvs(env map[string]string) (Config, error) { //nolint:funlen c := Config{ Headers: make(map[string]string), }