Skip to content

Commit

Permalink
Add unwrap to to_worker_slot on stream.rs:205
Browse files Browse the repository at this point in the history
  • Loading branch information
Shanicky Chen committed Jun 20, 2024
1 parent 9734c9a commit bee0c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meta/src/model/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ impl MetadataModel for TableFragments {
risingwave_common::hash::ParallelUnitMapping::from_protobuf(
&vnode_mapping,
)
.to_worker_slot(&parallel_unit_to_worker)
.to_worker_slot(&parallel_unit_to_worker).unwrap()
.to_protobuf()
})
});
Expand Down

0 comments on commit bee0c2b

Please sign in to comment.