Skip to content

Commit

Permalink
Omit parseEnvs linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
olegbespalov committed Oct 28, 2024
1 parent 166752f commit 5c06592
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/remotewrite/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
}
Expand Down

0 comments on commit 5c06592

Please sign in to comment.