Skip to content

Commit

Permalink
chore: use ctx parameter in cmdInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
HurSungYun committed Oct 15, 2021
1 parent 2b6611c commit a67d912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ring.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit a67d912

Please sign in to comment.