chore: pin GH commits and switch to golangci-lint (#4444)
* chore: pin GH commits * switch to golangci-lint-action * fix lint issues
This commit is contained in:
@@ -378,7 +378,7 @@ func (s *LivekitServer) healthCheck(w http.ResponseWriter, _ *http.Request) {
|
||||
}
|
||||
if time.Since(updatedAt) > 4*time.Second {
|
||||
w.WriteHeader(http.StatusNotAcceptable)
|
||||
_, _ = w.Write([]byte(fmt.Sprintf("Not Ready\nNode Updated At %s", updatedAt)))
|
||||
_, _ = fmt.Fprintf(w, "Not Ready\nNode Updated At %s", updatedAt)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
@@ -120,8 +120,8 @@ func (s *SignalServer) Start() error {
|
||||
return s.server.RegisterAllNodeTopics(s.nodeID)
|
||||
}
|
||||
|
||||
func (r *SignalServer) Stop() {
|
||||
r.server.Kill()
|
||||
func (s *SignalServer) Stop() {
|
||||
s.server.Kill()
|
||||
}
|
||||
|
||||
type signalService struct {
|
||||
|
||||
Reference in New Issue
Block a user