From b3fe99d9ead0e9668ed549a72027aeb9da3aec21 Mon Sep 17 00:00:00 2001 From: Victoria Martinez de la Cruz Date: Mon, 14 Oct 2024 13:12:01 +0200 Subject: [PATCH] Disable depguard linter and skip gosec rule --- .golangci.yaml | 2 +- plugins/application/elasticsearch/pkg/lib/client_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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