mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 13:07:36 +03:00
Fix all errcheck
warnings
This commit is contained in:
parent
03c3c192ed
commit
5cd453afeb
14 changed files with 37 additions and 38 deletions
|
@ -22,7 +22,7 @@ func TestPersistence(t *testing.T) {
|
|||
//os.Remove("./test-123.db")
|
||||
//conf.Server.Path = "./test-123.db"
|
||||
conf.Server.DbPath = "file::memory:?cache=shared"
|
||||
orm.RegisterDataBase("default", db.Driver, conf.Server.DbPath)
|
||||
_ = orm.RegisterDataBase("default", db.Driver, conf.Server.DbPath)
|
||||
db.EnsureLatestVersion()
|
||||
log.SetLevel(log.LevelCritical)
|
||||
RegisterFailHandler(Fail)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue