We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 488893b commit b857036Copy full SHA for b857036
ballista/scheduler/src/state/executor_manager.rs
@@ -327,7 +327,7 @@ impl ExecutorManager {
327
pub(crate) fn is_dead_executor(&self, executor_id: &str) -> bool {
328
self.cluster_state
329
.get_executor_heartbeat(executor_id)
330
- .map_or(true, |heartbeat| {
+ .is_none_or(|heartbeat| {
331
matches!(
332
heartbeat.status,
333
Some(ballista_core::serde::generated::ballista::ExecutorStatus {
0 commit comments