From a624c379153d511ff674eb402146adc37bd173ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20Jir=C3=A9nius?= Date: Wed, 3 Jul 2024 15:53:20 +0200 Subject: [PATCH] GH-257: Fixed lint error. --- server/service.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/service.go b/server/service.go index 94379fd..a5cb042 100644 --- a/server/service.go +++ b/server/service.go @@ -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) }