Skip to content

Commit f074f13

Browse files
authored
chore(health): Update generated code (#1951)
1 parent 474390b commit f074f13

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tonic-health/src/generated/grpc_health_v1.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ pub mod health_check_response {
3737
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
3838
pub fn as_str_name(&self) -> &'static str {
3939
match self {
40-
ServingStatus::Unknown => "UNKNOWN",
41-
ServingStatus::Serving => "SERVING",
42-
ServingStatus::NotServing => "NOT_SERVING",
43-
ServingStatus::ServiceUnknown => "SERVICE_UNKNOWN",
40+
Self::Unknown => "UNKNOWN",
41+
Self::Serving => "SERVING",
42+
Self::NotServing => "NOT_SERVING",
43+
Self::ServiceUnknown => "SERVICE_UNKNOWN",
4444
}
4545
}
4646
/// Creates an enum from field names used in the ProtoBuf definition.

0 commit comments

Comments
 (0)