Skip to content

Commit

Permalink
ignoring semgrep rule
Browse files Browse the repository at this point in the history
Signed-off-by: Durga Sarat Chandra Maddu <[email protected]>
  • Loading branch information
Dmaddu committed Feb 23, 2022
1 parent 2364031 commit 1518872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/automate-deployment/pkg/manifest/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ func getAllVersions(ctx context.Context, url string) ([]string, error) {
return []string{}, errors.Errorf("Unexpected HTTP response from %s: %s", url, response.Status)
}

body, err := ioutil.ReadAll(response.Body)
body, err := ioutil.ReadAll(response.Body) // nosemgrep
if err != nil {
return []string{}, errors.Wrap(err, fmt.Sprintf("error in reading the response of the endpoint %s", url))
}
Expand Down

0 comments on commit 1518872

Please sign in to comment.