Skip to content

Commit

Permalink
fix unwrap
Browse files Browse the repository at this point in the history
  • Loading branch information
wenym1 committed Feb 4, 2024
1 parent 4698811 commit 1887f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meta/src/manager/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ impl ActiveStreamingWorkerNodes {
match notification {
LocalNotification::WorkerNodeDeleted(worker) => {
let is_streaming_compute_node = worker.r#type == WorkerType::ComputeNode as i32
|| worker.property.as_ref().unwrap().is_streaming;
&& worker.property.as_ref().unwrap().is_streaming;
let Some(prev_worker) = self.worker_nodes.remove(&worker.id) else {
if is_streaming_compute_node {
warn!(
Expand Down

0 comments on commit 1887f62

Please sign in to comment.