update golangci lint linter list

This commit is contained in:
sentriz
2020-05-02 04:22:26 +01:00
parent fc6f39bbfe
commit b02ade3415
14 changed files with 53 additions and 31 deletions

View File

@@ -4,6 +4,7 @@ package jukebox
import (
"fmt"
"log"
"os"
"path"
"sync"
@@ -89,7 +90,9 @@ func (j *Jukebox) Listen() error {
case update := <-j.updates:
j.doUpdate(update)
case speaker := <-j.speaker:
j.doUpdateSpeaker(speaker)
if err := j.doUpdateSpeaker(speaker); err != nil {
log.Printf("error in jukebox: %v", err)
}
}
}
}