pkg/foghorn: move from io/ioutil to io and os packages
@@ -2,7 +2,6 @@ package foghorn
import (
"context"
- "io/ioutil"
"os"
"path"
"path/filepath"
@@ -145,7 +144,7 @@ func loadLighthouseJob(dir string, baseFn string) (*lighthousev1alpha1.Lighthous
}
if exists {
lhjob := &lighthousev1alpha1.LighthouseJob{}
- data, err := ioutil.ReadFile(fileName)
+ data, err := os.ReadFile(fileName)
if err != nil {
return nil, err
}
