Skip to content

Commit b857036

Browse files
authored
chore: fix clippy after rust 1.85 update (#1188)
1 parent 488893b commit b857036

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ballista/scheduler/src/state/executor_manager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ impl ExecutorManager {
327327
pub(crate) fn is_dead_executor(&self, executor_id: &str) -> bool {
328328
self.cluster_state
329329
.get_executor_heartbeat(executor_id)
330-
.map_or(true, |heartbeat| {
330+
.is_none_or(|heartbeat| {
331331
matches!(
332332
heartbeat.status,
333333
Some(ballista_core::serde::generated::ballista::ExecutorStatus {

0 commit comments

Comments
 (0)