diff --git a/helpers/config.go b/helpers/config.go index ce1847c..be4bce6 100644 --- a/helpers/config.go +++ b/helpers/config.go @@ -1,7 +1,6 @@ package helpers import ( - "io/ioutil" "os" "path/filepath" @@ -52,7 +51,7 @@ func WriteConfig(path string, config *models.Config) error { log.Debugf("Writing config to %s", configFilePath) - err = ioutil.WriteFile(configFilePath, data, 0600) + err = os.WriteFile(configFilePath, data, 0600) if err != nil { return errors.Trace(err) }