Fix some typos in comments (#2949)

Signed-off-by: oftenoccur <ezc5@sina.com>
This commit is contained in:
oftenoccur
2024-04-12 02:58:14 +08:00
committed by GitHub
parent 8720bd154f
commit bcb71b85c0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ func (a *cacheWarmer) doCacheImage(ctx context.Context, id model.ArtworkID) erro
r, _, err := a.artwork.Get(ctx, id, consts.UICoverArtSize)
if err != nil {
return fmt.Errorf("error cacheing id='%s': %w", id, err)
return fmt.Errorf("error caching id='%s': %w", id, err)
}
defer r.Close()
_, err = io.Copy(io.Discard, r)