From 2abb8dd0a9b2c107c296cc04f9ae7f0c7ea778c0 Mon Sep 17 00:00:00 2001 From: Tiyash Basu Date: Tue, 20 May 2025 09:14:26 +0200 Subject: [PATCH] Fix typo in field name in `CommunicationComponentDiagnostic` The field name `vendor_error_code` in the `CommunicationComponentDiagnostic` message was incorrectly named, since it is not an error code but a more general diagnostic code. This commit renames the field to `vendor_diagnostic_code` to better reflect its purpose. Signed-off-by: Tiyash Basu --- .../communication_components/communication_components.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proto/frequenz/api/common/v1/microgrid/communication_components/communication_components.proto b/proto/frequenz/api/common/v1/microgrid/communication_components/communication_components.proto index a621a6b3..5046c595 100644 --- a/proto/frequenz/api/common/v1/microgrid/communication_components/communication_components.proto +++ b/proto/frequenz/api/common/v1/microgrid/communication_components/communication_components.proto @@ -159,8 +159,8 @@ message CommunicationComponentDiagnostic { // A standardized diagnostic code representing the category of the issue. CommunicationComponentDiagnosticCode diagnostic_code = 1; - // Optional vendor-provided error code for more granular diagnostics. - optional uint32 vendor_error_code = 2; + // Optional vendor-provided code for more granular diagnostics. + optional uint32 vendor_diagnostic_code = 2; // Human-readable message providing additional context. string message = 3;