Skip to content

Commit

Permalink
fix ling
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziopandini committed Aug 21, 2023
1 parent 528bbd8 commit 33a4913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/clusterctl/client/repository/repository_github.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ func (g *gitHubRepository) httpGetFilesFromRelease(ctx context.Context, version,
var retryError error
var content []byte
_ = wait.PollUntilContextTimeout(ctx, retryableOperationInterval, retryableOperationTimeout, true, func(ctx context.Context) (bool, error) {
resp, err := http.Get(downloadURL) //nolint:gosec
resp, err := http.Get(downloadURL) //nolint:gosec,noctx
if err != nil {
retryError = errors.Wrap(err, "error sending request")
return false, nil
Expand Down

0 comments on commit 33a4913

Please sign in to comment.