коммит произвёл
GitHub
родитель
b45ff0be5d
Коммит
717a4d04a9
@@ -91,7 +91,7 @@ func setupTestHelper(s store.Store, includeCacheLayer bool, tb testing.TB) *Test
|
||||
sessionCache: cache,
|
||||
config: configStore.Get,
|
||||
sessionPool: sync.Pool{
|
||||
New: func() interface{} {
|
||||
New: func() any {
|
||||
return &model.Session{}
|
||||
},
|
||||
},
|
||||
|
||||
@@ -69,7 +69,7 @@ func New(c ServiceConfig) (*UserService, error) {
|
||||
cluster: c.Cluster,
|
||||
sessionCache: sessionCache,
|
||||
sessionPool: sync.Pool{
|
||||
New: func() interface{} {
|
||||
New: func() any {
|
||||
return &model.Session{}
|
||||
},
|
||||
},
|
||||
|
||||
Ссылка в новой задаче
Block a user