chore: use ctx parameter in cmdInfo

This commit is contained in:
Ethan Hur 2021-10-15 14:49:00 +09:00
parent 2b6611c4fd
commit a67d9129e6
1 changed files with 1 additions and 1 deletions

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
}