From a67d9129e63e77dad3bfc4d4fcc12ea16bfee73f Mon Sep 17 00:00:00 2001 From: Ethan Hur Date: Fri, 15 Oct 2021 14:49:00 +0900 Subject: [PATCH] chore: use ctx parameter in cmdInfo --- ring.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ring.go b/ring.go index 11a2037..4df00fc 100644 --- a/ring.go +++ b/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 }