We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0588cf5 + 7e5d4fd commit 6b16d9dCopy full SHA for 6b16d9d
1 file changed
hack/worker-resource-builder/main.go
@@ -4,7 +4,6 @@ import (
4
"flag"
5
"fmt"
6
"io"
7
- "io/ioutil"
8
"log"
9
"os"
10
"path/filepath"
@@ -33,7 +32,7 @@ func main() {
33
32
}
34
35
//Read Resources
36
- files, err := ioutil.ReadDir(resourcesPath)
+ files, err := os.ReadDir(resourcesPath)
37
if err != nil {
38
fmt.Println("Error reading resourcesPath: " + resourcesPath)
39
os.Exit(1)
0 commit comments