Skip to content

Commit

Permalink
chore(health): Update generated code (#1951)
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto authored Sep 21, 2024
1 parent 474390b commit f074f13
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tonic-health/src/generated/grpc_health_v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f074f13

Please # to comment.