Skip to content

Commit

Permalink
Update schema/validator.go
Browse files Browse the repository at this point in the history
Co-authored-by: Brandon Mitchell <git@bmitch.net>
  • Loading branch information
sajayantony and sudo-bmitch committed Sep 9, 2022
1 parent cc38587 commit 2dd253f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schema/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ func checkPlatform(OS string, Architecture string) {
func validateArtifact(r io.Reader) error {
header := v1.Artifact{}

buf, err := ioutil.ReadAll(r)
buf, err := io.ReadAll(r)
if err != nil {
return errors.Wrapf(err, "error reading the io stream")
}
Expand Down

0 comments on commit 2dd253f

Please sign in to comment.