From f074f134687391cc1df73e98db2c07c812e0a495 Mon Sep 17 00:00:00 2001 From: tottoto Date: Sun, 22 Sep 2024 05:39:52 +0900 Subject: [PATCH] chore(health): Update generated code (#1951) --- tonic-health/src/generated/grpc_health_v1.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tonic-health/src/generated/grpc_health_v1.rs b/tonic-health/src/generated/grpc_health_v1.rs index 428e32883..249a5a6ff 100644 --- a/tonic-health/src/generated/grpc_health_v1.rs +++ b/tonic-health/src/generated/grpc_health_v1.rs @@ -37,10 +37,10 @@ pub mod health_check_response { /// (if the ProtoBuf definition does not change) and safe for programmatic use. pub fn as_str_name(&self) -> &'static str { match self { - ServingStatus::Unknown => "UNKNOWN", - ServingStatus::Serving => "SERVING", - ServingStatus::NotServing => "NOT_SERVING", - ServingStatus::ServiceUnknown => "SERVICE_UNKNOWN", + Self::Unknown => "UNKNOWN", + Self::Serving => "SERVING", + Self::NotServing => "NOT_SERVING", + Self::ServiceUnknown => "SERVICE_UNKNOWN", } } /// Creates an enum from field names used in the ProtoBuf definition.