Remove dependency of deprecated ioutil package
This commit is contained in:
@@ -3,7 +3,6 @@ package core
|
||||
import (
|
||||
"context"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"time"
|
||||
|
||||
"github.com/navidrome/navidrome/conf"
|
||||
@@ -80,7 +79,7 @@ func (w *warmer) execute(workload interface{}) {
|
||||
return
|
||||
}
|
||||
defer r.Close()
|
||||
_, _ = io.Copy(ioutil.Discard, r)
|
||||
_, _ = io.Copy(io.Discard, r)
|
||||
}
|
||||
|
||||
type artworkItem struct {
|
||||
|
||||
Reference in New Issue
Block a user