mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-12 18:27:18 +03:00
Fixing Build/lint error: "non-constant format string in call to fmt.Errorf (govet)" (#3198)
* Fixing " non-constant format string in call to fmt.Errorf (govet)" * Its a string, not an int; read better.
This commit is contained in:
parent
c4bd0e67fa
commit
723f01d98c
@ -104,7 +104,7 @@ func (pd *Queue) Shuffle() {
|
||||
var err error
|
||||
pd.Index, err = pd.getMediaFileIndexByID(backupID)
|
||||
if err != nil {
|
||||
log.Error("Could not find ID while shuffling: " + backupID)
|
||||
log.Error("Could not find ID while shuffling: %s", backupID)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user