Skip to content

Commit

Permalink
Remove usage of deprecated io/ioutil
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierlemasle committed Oct 18, 2021
1 parent eb9aeb3 commit 0d30ebf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/e2e/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (
"bytes"
"flag"
"fmt"
"io/ioutil"
"log"
"os"
"path"
Expand Down Expand Up @@ -254,7 +253,7 @@ func TestDefaultCollectorMetricsAvailable(t *testing.T) {
}

resources := map[string]struct{}{}
files, err := ioutil.ReadDir("../../internal/store/")
files, err := os.ReadDir("../../internal/store/")
if err != nil {
t.Fatalf("failed to read dir to get all resouces name: %v", err)
}
Expand Down

0 comments on commit 0d30ebf

Please sign in to comment.