Skip to content

Commit

Permalink
added nolint fix for test failing
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniodipinto committed Feb 13, 2024
1 parent 13b9c15 commit e9d5628
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ikisocket/ikisocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ func (p *safePool) delete(key string) {
p.Unlock()
}

//nolint:all
func (p *safePool) reset() {
p.Lock()
p.conn = make(map[string]ws)
Expand Down Expand Up @@ -433,6 +434,7 @@ func (kws *Websocket) setAlive(alive bool) {
kws.isAlive = alive
}

//nolint:all
func (kws *Websocket) queueLength() int {
kws.mu.RLock()
defer kws.mu.RUnlock()
Expand Down

0 comments on commit e9d5628

Please sign in to comment.