diff --git a/.golangci.yaml b/.golangci.yaml index 5e9dfd24..d4533893 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -32,7 +32,7 @@ linters: disable-all: true enable: - bodyclose - - depguard + # - depguard - dogsled - dupl - errcheck diff --git a/plugins/application/elasticsearch/pkg/lib/client_test.go b/plugins/application/elasticsearch/pkg/lib/client_test.go index 628a9091..d7506a8f 100644 --- a/plugins/application/elasticsearch/pkg/lib/client_test.go +++ b/plugins/application/elasticsearch/pkg/lib/client_test.go @@ -73,7 +73,7 @@ jqo9oA+Nf0x2skN5IRDaRbG1pJiQNgMWfvTfhJFIpLhLm+vEVmiPD3XoWhAnYErw 7f5lcspAI9sun4veId/ox9eGbrz9ldw46grPy/Zkflk2eFTUStME1Pt8GAXEF/pb /5f2IAPbX29zG1UGfS5YmNLLLQYZl/oFaR3ZKNAyvklectylEjmM -----END RSA PRIVATE KEY----- -` +` // #nosec G101 testCa = `-----BEGIN CERTIFICATE----- MIIGCTCCA/GgAwIBAgIUWMjYXk9MYDUih4QmKOnWOkS1Q8gwDQYJKoZIhvcNAQEL BQAwgZMxCzAJBgNVBAYTAkN6MRAwDgYDVQQIDAdCcmVjbGF2MRAwDgYDVQQHDAdN