Skip to content

Commit

Permalink
chore: fix clippy after rust 1.85 update
Browse files Browse the repository at this point in the history
  • Loading branch information
milenkovicm committed Feb 21, 2025
1 parent 488893b commit bfd89fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ballista/scheduler/src/state/executor_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ impl ExecutorManager {
pub(crate) fn is_dead_executor(&self, executor_id: &str) -> bool {
self.cluster_state
.get_executor_heartbeat(executor_id)
.map_or(true, |heartbeat| {
.is_none_or(|heartbeat| {
matches!(
heartbeat.status,
Some(ballista_core::serde::generated::ballista::ExecutorStatus {
Expand Down

0 comments on commit bfd89fc

Please sign in to comment.