chore: fix some typos in comment and logs (#4333)

Signed-off-by: bytesingsong <bytesing@icloud.com>
This commit is contained in:
bytesingsong
2025-07-14 02:31:15 +08:00
committed by GitHub
parent d8e829ad18
commit b69a7652b9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -188,7 +188,7 @@ func fromURL(ctx context.Context, imageUrl *url.URL) (io.ReadCloser, string, err
} }
if resp.StatusCode != http.StatusOK { if resp.StatusCode != http.StatusOK {
resp.Body.Close() resp.Body.Close()
return nil, "", fmt.Errorf("error retrieveing artwork from %s: %s", imageUrl, resp.Status) return nil, "", fmt.Errorf("error retrieving artwork from %s: %s", imageUrl, resp.Status)
} }
return resp.Body, imageUrl.String(), nil return resp.Body, imageUrl.String(), nil
} }
+1 -1
View File
@@ -4,7 +4,7 @@
# the package manager (in particular, deb) thinks that the file exists, while it is # the package manager (in particular, deb) thinks that the file exists, while it is
# no longer on disk. Specifically, doing a `rm /etc/navidrome/navidrome.toml` # no longer on disk. Specifically, doing a `rm /etc/navidrome/navidrome.toml`
# without something like `apt purge navidrome` will result in the system believing that # without something like `apt purge navidrome` will result in the system believing that
# the file still exists. In this case, during isntall it will NOT extract the configuration # the file still exists. In this case, during install it will NOT extract the configuration
# file (as to not override it). Since `navidrome service install` depends on this file existing, # file (as to not override it). Since `navidrome service install` depends on this file existing,
# we will create it with the defaults anyway. # we will create it with the defaults anyway.
if [ ! -f /etc/navidrome/navidrome.toml ]; then if [ ! -f /etc/navidrome/navidrome.toml ]; then