Skip to content

Commit

Permalink
update lint in pics/audit
Browse files Browse the repository at this point in the history
  • Loading branch information
andersonvcv committed Dec 10, 2024
1 parent 67b8fd0 commit f321907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/pics/audit/audit_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f321907

Please sign in to comment.