From d8801ea966561dab17e69ceab2b84f9e4f28ab82 Mon Sep 17 00:00:00 2001 From: tottoto Date: Sun, 22 Sep 2024 00:15:06 +0900 Subject: [PATCH] chore(health): Update generated code --- 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.