mirror of
https://github.com/redis/go-redis.git
synced 2025-07-22 10:01:50 +03:00
chore: use ctx parameter in cmdInfo
This commit is contained in:
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
|
||||
}
|
||||
|
Reference in New Issue
Block a user