mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Exported the setErr function as public
This commit is contained in:
@ -14,7 +14,7 @@ func (c *ClusterClient) DBSize() *IntCmd {
|
||||
return nil
|
||||
})
|
||||
if err != nil {
|
||||
cmd.setErr(err)
|
||||
cmd.SetErr(err)
|
||||
return cmd
|
||||
}
|
||||
cmd.val = size
|
||||
|
Reference in New Issue
Block a user