Skip to content

Commit 2dd253f

Browse files
Update schema/validator.go
Co-authored-by: Brandon Mitchell <[email protected]>
1 parent cc38587 commit 2dd253f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schema/validator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ func checkPlatform(OS string, Architecture string) {
256256
func validateArtifact(r io.Reader) error {
257257
header := v1.Artifact{}
258258

259-
buf, err := ioutil.ReadAll(r)
259+
buf, err := io.ReadAll(r)
260260
if err != nil {
261261
return errors.Wrapf(err, "error reading the io stream")
262262
}

0 commit comments

Comments
 (0)