Skip to content

Commit

Permalink
Fix linting issue
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Tomlinson <[email protected]>
  • Loading branch information
jacobtomlinson committed Feb 22, 2024
1 parent f16866f commit ae399b0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/config/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (
"errors"
"fmt"
"io"
"io/ioutil"
"net/http"
"os"
"path/filepath"
Expand Down Expand Up @@ -56,7 +55,7 @@ func LoadValidatorFromFile(path string) (*canaryv1.Validator, error) {
return nil, fmt.Errorf("no such file %s", filename)
}

yamlFile, err := ioutil.ReadFile(filename)
yamlFile, err := os.ReadFile(filename)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit ae399b0

Please sign in to comment.