Files
troubleshoot/.golangci.yaml
ada mancini eacff7112f support adding a CA cert to http collector (#1624)
* add a TLS parameter for cacert

* pass a ca cert into http request

* test preflight

* make schemas

* log extra information from http request

* pass a proxy into the collector spec

* hitting a segfault; breakpoint

* accept a dir, file, or a string-literal as CA

* move tls params into get, put, post methods

* test for cert untrusted response

* make generate

* make schemas

* more test cases

* make schemas

* dont include system certs

* make generate && make schemas

* resolve gosec G402 warning

* remove old check for system certs

* ignore errcheck "return value not checked" linter errors
2024-10-23 18:15:08 -04:00

16 lines
224 B
YAML

# https://golangci-lint.run/usage/configuration/#config-file
run:
allow-parallel-runners: true
timeout: 10m
linters:
enable:
- gocritic
- gocyclo
- gofmt
- gosec
- govet
disable:
- errcheck