Skip to content

Commit df98a1a

Browse files
committed
Fix: Disable retries in the gitlab client
1 parent ef06194 commit df98a1a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/app/client.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ func NewClient() (*Client, error) {
7070
retryClient.HTTPClient.Transport = tr
7171
retryClient.RetryMax = 0
7272
gitlabOptions = append(gitlabOptions, gitlab.WithHTTPClient(retryClient.HTTPClient))
73+
gitlabOptions = append(gitlabOptions, gitlab.WithoutRetries())
7374

7475
client, err := gitlab.NewClient(pluginOptions.AuthToken, gitlabOptions...)
7576

0 commit comments

Comments
 (0)