1
0
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:
git-hulk
2020-02-03 17:53:47 +08:00
parent a579d58c59
commit d52b11cb42
7 changed files with 34 additions and 34 deletions

View File

@ -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