1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-29 17:41:15 +03:00

Rename SlowLog to SlowLogGet

This commit is contained in:
Vladimir Mihailenco
2020-09-09 17:42:05 +03:00
parent 457cdea58f
commit 690d9a94f3
5 changed files with 5 additions and 18 deletions

View File

@ -2307,7 +2307,7 @@ func (c cmdable) SlaveOf(ctx context.Context, host, port string) *StatusCmd {
return cmd
}
func (c cmdable) SlowLog(ctx context.Context, num int64) *SlowLogCmd {
func (c cmdable) SlowLogGet(ctx context.Context, num int64) *SlowLogCmd {
n := strconv.FormatInt(num, 10)
cmd := NewSlowLogCmd(context.Background(), "slowlog", "get", n)
_ = c(ctx, cmd)