From f321907ee7ed49891066dc4667f733cc77c3bf00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anderson=20Val=C3=A9rio?= Date: Mon, 9 Dec 2024 22:09:52 -0300 Subject: [PATCH] update lint in pics/audit --- pkg/pics/audit/audit_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/pics/audit/audit_client.go b/pkg/pics/audit/audit_client.go index 46b7079c..072a5105 100644 --- a/pkg/pics/audit/audit_client.go +++ b/pkg/pics/audit/audit_client.go @@ -46,7 +46,7 @@ func NewAuditClient(opts *ClientOpts) (*Client, error) { SetRetryWaitTime(5 * time.Second). SetRetryMaxWaitTime(20 * time.Second). SetContentLength(true). - SetRetryAfter(func(client *resty.Client, resp *resty.Response) (time.Duration, error) { + SetRetryAfter(func(_ *resty.Client, _ *resty.Response) (time.Duration, error) { return 0, fmt.Errorf("%w: retry quota exceeded", ErrPersitAuditEvent) }) return &Client{enabled: opts.Enabled, apiSignature: apiSignature, client: client, opts: opts}, nil