Skip to content

Commit

Permalink
GH-257: Fixed lint error.
Browse files Browse the repository at this point in the history
  • Loading branch information
jirenius committed Jul 3, 2024
1 parent 3c09e14 commit a624c37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ func (s *Service) SetOnWSClose(cb func(ws *websocket.Conn)) {
s.onWSClose = cb
}

// SetOnCahceUnsubscribe sets a callback that is called when a resource is
// removed from the cache and unsubscribed. Used for testing.
// SetOnUnsubscribe sets a callback that is called when a resource is removed
// from the cache and unsubscribed. Used for testing.
func (s *Service) SetOnUnsubscribe(cb func(rid string)) {
s.cache.SetOnUnsubscribe(cb)
}
Expand Down

0 comments on commit a624c37

Please sign in to comment.