-
Notifications
You must be signed in to change notification settings - Fork 14
Rename ElectricalComponentError to ElectricalComponentDiagnostic
#309
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
Rename ElectricalComponentError to ElectricalComponentDiagnostic
#309
Conversation
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.
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
llucax
left a comment
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.
What copilot said, otherwise LGTM.
This commit improves the naming of the `ElectricalComponentError` message to `ElectricalComponentDiagnostic`, to better reflect its purpose of representing both warnings and errors in microgrid electrical components. Signed-off-by: Tiyash Basu <[email protected]>
de09b6f to
573bf0e
Compare
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.
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (2)
proto/frequenz/api/common/v1/microgrid/electrical_components/electrical_components.proto:485
- Ensure that the renaming from ElectricalComponentError to ElectricalComponentDiagnostic is consistent throughout the file, including all associated enums and documentation comments.
message ElectricalComponentDiagnostic {
RELEASE_NOTES.md:17
- [nitpick] Verify that the release notes reference the correct original identifier; if the proto file was renamed from ElectricalComponentErrorCode, update this line to match that naming for clarity.
The enum `ComponentErrorCode` has now been renamed to `ElectricalComponentDiagnosticCode` to better reflect its shared usage with warnings and errors.
This commit improves the naming of the
ElectricalComponentErrormessage toElectricalComponentDiagnostic, to better reflect its purpose of representing both warnings and errors in microgrid electrical components.Followed up from this comment: #308 (comment)