-
Notifications
You must be signed in to change notification settings - Fork 1.9k
fix(capabilities): writes warn log correctly #20077
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
👋 MStreet3, thanks for creating this pull request! To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team. Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks! |
|
|
||
| if len(c.responseIDCount) > 1 { | ||
| lggr.Warn("received multiple different responses for the same request, number of different responses received: %d", len(c.responseIDCount)) | ||
| lggr.Warnw("received multiple unique responses for the same request", "count for responseID", len(c.responseIDCount)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
log already has responseID via With
| } | ||
|
|
||
| // TransmissionConfig has to be set only for V2 capabilities. V1 capabilities read transmission schedule from every request. | ||
| func NewClientExecuteRequest(ctx context.Context, lggr logger.Logger, req commoncap.CapabilityRequest, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why?
,
)
seem must less legible than )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
autocorrect by gofumpt
|
* fix(capabilities): writes warn log correctly * deps: changeset




Requires
Supports