mirror of
https://github.com/redis/go-redis.git
synced 2025-10-21 20:53:41 +03:00
fix mocks
This commit is contained in:
@@ -92,6 +92,10 @@ func (mp *mockPool) Stats() *pool.Stats {
|
||||
return &pool.Stats{}
|
||||
}
|
||||
|
||||
func (mp *mockPool) Size() int {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (mp *mockPool) AddPoolHook(hook pool.PoolHook) {
|
||||
// Mock implementation - do nothing
|
||||
}
|
||||
|
Reference in New Issue
Block a user