From 723f01d98cf6a31c2ca48737912e985fa2b311e3 Mon Sep 17 00:00:00 2001 From: Rob Emery Date: Mon, 19 Aug 2024 21:58:35 +0000 Subject: [PATCH] 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. --- core/playback/queue.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/playback/queue.go b/core/playback/queue.go index a452b499d..0c230a61f 100644 --- a/core/playback/queue.go +++ b/core/playback/queue.go @@ -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) } }