Skip to content

Commit

Permalink
chore: remove deprecated ioutil call
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneboulden committed Jan 30, 2024
1 parent d89633f commit 1464251
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/trials.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"errors"
"flag"
"fmt"
"io/ioutil"
"os"
"path/filepath"
"strings"
Expand Down Expand Up @@ -139,7 +138,7 @@ func runDeployTrialStandalone(trial Trial, clientset *kubernetes.Clientset) int
func runTrialsFromFile(file string, clientset *kubernetes.Clientset) int {
// read the YAML file defining trials
fmt.Println("Using trials from: " + file)
data, err := ioutil.ReadFile(file)
data, err := os.ReadFile(file)
if err != nil {
fmt.Println(err)
return ExitErr
Expand Down

0 comments on commit 1464251

Please sign in to comment.