Skip to content

Commit

Permalink
Replace deprecated usage of ioutil in sample code (#6872)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-kleonhard committed Oct 19, 2022
1 parent fedaf1e commit d14ee26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/README.md
Expand Up @@ -25,7 +25,7 @@ if err != nil {
log.Fatal(err)
}
defer rc.Close()
body, err := ioutil.ReadAll(rc)
body, err := io.ReadAll(rc)
if err != nil {
log.Fatal(err)
}
Expand Down

0 comments on commit d14ee26

Please sign in to comment.