chore: Fix clippy warning (#1346)
This commit is contained in:
@@ -155,6 +155,7 @@ impl Health for HealthService {
|
||||
let status = crate::pb::health_check_response::ServingStatus::from(*status_rx.borrow()) as i32;
|
||||
yield HealthCheckResponse { status };
|
||||
|
||||
#[allow(clippy::redundant_pattern_matching)]
|
||||
while let Ok(_) = status_rx.changed().await {
|
||||
let status = crate::pb::health_check_response::ServingStatus::from(*status_rx.borrow()) as i32;
|
||||
yield HealthCheckResponse { status };
|
||||
|
||||
Reference in New Issue
Block a user