Skip to content

Commit a67d912

Browse files
committed
chore: use ctx parameter in cmdInfo
1 parent 2b6611c commit a67d912

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ring.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ func (c *Ring) cmdInfo(ctx context.Context, name string) *CommandInfo {
576576
}
577577
info := cmdsInfo[name]
578578
if info == nil {
579-
internal.Logger.Printf(c.Context(), "info for cmd=%s not found", name)
579+
internal.Logger.Printf(ctx, "info for cmd=%s not found", name)
580580
}
581581
return info
582582
}

0 commit comments

Comments
 (0)