From be27aa199b4cfdefa8d5a3f677f1a241f39d6f19 Mon Sep 17 00:00:00 2001 From: Harrison Cramer Date: Thu, 26 Dec 2024 11:37:01 -0800 Subject: [PATCH] Fix: Removes Retry, fixes mess of errors for #425 --- cmd/app/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/app/client.go b/cmd/app/client.go index 4d3da2ed..a599397c 100644 --- a/cmd/app/client.go +++ b/cmd/app/client.go @@ -68,6 +68,7 @@ func NewClient() (*Client, error) { retryClient := retryablehttp.NewClient() retryClient.HTTPClient.Transport = tr + retryClient.RetryMax = 0 gitlabOptions = append(gitlabOptions, gitlab.WithHTTPClient(retryClient.HTTPClient)) client, err := gitlab.NewClient(pluginOptions.AuthToken, gitlabOptions...)