diff --git a/pkg/logs/loggers.go b/pkg/logs/loggers.go index d304c357..76504e20 100644 --- a/pkg/logs/loggers.go +++ b/pkg/logs/loggers.go @@ -8,7 +8,6 @@ import ( "bytes" "encoding/json" "io" - "io/ioutil" "os" "os/exec" "path/filepath" @@ -37,8 +36,7 @@ func GetJournalctlLogs(path string, useFile bool) (io.Reader, error) { var value string if useFile { - // content, err := os.ReadFile(filepath.Clean(path)) - content, err := ioutil.ReadFile(filepath.Clean(path)) + content, err := os.ReadFile(filepath.Clean(path)) if err != nil { return nil, err }