Skip to content

Commit

Permalink
fix golint
Browse files Browse the repository at this point in the history
  • Loading branch information
freeznet committed Jun 20, 2024
1 parent e7381a5 commit f8e1322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/connection/reconcile_package.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func createTmpFile(fileURL string) (string, error) {
defer tmpFile.Close()

// make HTTP GET request to the URL
resp, err := http.Get(fileURL) //nolint
resp, err := http.Get(fileURL) //nolint:gosec
if err != nil {
return "", fmt.Errorf("failed to download file: %v", err)
}
Expand Down

0 comments on commit f8e1322

Please sign in to comment.