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:
Rob Emery 2024-08-19 21:58:35 +00:00 committed by Joe Stump
parent 819d0afd03
commit 48154ef58b
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9

View File

@ -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)
}
}