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
commit ca2b16333e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
}