Skip to content

Commit

Permalink
using ioutil.ReadAll
Browse files Browse the repository at this point in the history
  • Loading branch information
EclesioMeloJunior committed Nov 9, 2021
1 parent 245cb35 commit 2ada338
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/runtime/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ package runtime

import (
"context"
"io"
"io/ioutil"
"net/http"
"os"
Expand Down Expand Up @@ -103,7 +102,7 @@ func GetRuntimeBlob(testRuntimeFilePath, testRuntimeURL string) error {
return err
}

respBody, err := io.ReadAll(resp.Body)
respBody, err := ioutil.ReadAll(resp.Body)
if err != nil {
return err
}
Expand Down

0 comments on commit 2ada338

Please sign in to comment.