1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-23 21:01:00 +03:00

Merge pull request #1922 from HurSungYun/cmdInfo_logging_context

chore: use ctx parameter in cmdInfo
This commit is contained in:
Vladimir Mihailenco
2021-10-15 12:13:27 +03:00
committed by GitHub

View File

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