mirror of https://github.com/go-redis/redis.git
chore: use ctx parameter in cmdInfo
This commit is contained in:
parent
2b6611c4fd
commit
a67d9129e6
2
ring.go
2
ring.go
|
@ -576,7 +576,7 @@ func (c *Ring) cmdInfo(ctx context.Context, name string) *CommandInfo {
|
|||
}
|
||||
info := cmdsInfo[name]
|
||||
if info == nil {
|
||||
internal.Logger.Printf(c.Context(), "info for cmd=%s not found", name)
|
||||
internal.Logger.Printf(ctx, "info for cmd=%s not found", name)
|
||||
}
|
||||
return info
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue