Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions internal/requests/requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ type Client struct {
func NewKosliClient(httpProxyURL string, maxAPIRetries int, debug bool, logger *logger.Logger) (*Client, error) {
retryClient := retryablehttp.NewClient()
retryClient.RetryMax = maxAPIRetries
if !debug {
retryClient.Logger = nil // this silences logging each individual attempt
}
retryClient.Logger = nil // this silences logging each individual attempt
client := retryClient.StandardClient() // return a standard *http.Client from the retryable client
if httpProxyURL != "" {
proxyURL, err := url.Parse(httpProxyURL)
Expand Down
Loading