mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-01 03:03:10 -06:00
Make linter happy
This commit is contained in:
parent
f6fda79b9a
commit
d799c35de8
|
|
@ -49,8 +49,8 @@ type RequestPool struct {
|
|||
userAPI userapi.UserInternalAPI
|
||||
keyAPI keyapi.KeyInternalAPI
|
||||
rsAPI roomserverAPI.RoomserverInternalAPI
|
||||
lastseen sync.Map
|
||||
presence sync.Map
|
||||
lastseen *sync.Map
|
||||
presence *sync.Map
|
||||
streams *streams.Streams
|
||||
Notifier *notifier.Notifier
|
||||
jetstream JetstreamPublisher
|
||||
|
|
@ -74,8 +74,8 @@ func NewRequestPool(
|
|||
userAPI: userAPI,
|
||||
keyAPI: keyAPI,
|
||||
rsAPI: rsAPI,
|
||||
lastseen: sync.Map{},
|
||||
presence: sync.Map{},
|
||||
lastseen: &sync.Map{},
|
||||
presence: &sync.Map{},
|
||||
streams: streams,
|
||||
Notifier: notifier,
|
||||
jetstream: jetstream,
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ func TestRequestPool_updatePresence(t *testing.T) {
|
|||
},
|
||||
}
|
||||
rp := &RequestPool{
|
||||
presence: syncMap,
|
||||
presence: &syncMap,
|
||||
jetstream: publisher,
|
||||
cfg: &config.SyncAPI{
|
||||
Matrix: &config.Global{
|
||||
|
|
|
|||
Loading…
Reference in a new issue