mirror of
https://github.com/navidrome/navidrome.git
synced 2026-08-31 07:30:32 +00:00
address comments
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
parent
8da042dc28
commit
bd875d3faf
2
core/external/provider.go
vendored
2
core/external/provider.go
vendored
@ -253,7 +253,7 @@ func (e *provider) populateArtistInfo(ctx context.Context, artist auxArtist) (au
|
||||
_ = g.Wait()
|
||||
|
||||
if utils.IsCtxDone(ctx) {
|
||||
log.Warn(ctx, "ArtistInfo update canceled", "elapsed", "id", artist.ID, "name", artist.Name(), time.Since(start), ctx.Err())
|
||||
log.Warn(ctx, "ArtistInfo update canceled", "id", artist.ID, "name", artist.Name(), "elapsed", time.Since(start), ctx.Err())
|
||||
return artist, ctx.Err()
|
||||
}
|
||||
|
||||
|
||||
2
core/external/provider_artistimage_test.go
vendored
2
core/external/provider_artistimage_test.go
vendored
@ -314,8 +314,6 @@ var _ = Describe("Provider - ArtistImage", func() {
|
||||
})
|
||||
|
||||
It("normalizes Unicode characters)", func() {
|
||||
conf.Server.DevPreserveUnicodeInExternalCalls = false
|
||||
|
||||
// Act
|
||||
imgURL, err := provider.ArtistImage(ctx, "artist-endash")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user