Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
wenym1 committed Dec 11, 2024
1 parent a1fd984 commit 2a52ec7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stream/src/task/barrier_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,12 +328,12 @@ impl LocalBarrierWorker {
(*database_id, {
match status {
DatabaseStatus::Running(state) => {
("running".to_string(), Some(state.to_debug_info()))
("running".to_owned(), Some(state.to_debug_info()))
}
DatabaseStatus::Suspended(state) => {
(format!("suspended: {:?}", state.suspend_time), None)
}
DatabaseStatus::Resetting(_) => ("resetting".to_string(), None),
DatabaseStatus::Resetting(_) => ("resetting".to_owned(), None),
DatabaseStatus::Unspecified => {
unreachable!()
}
Expand Down

0 comments on commit 2a52ec7

Please sign in to comment.