Skip to content

Commit

Permalink
fix clippy and remove one misuse
Browse files Browse the repository at this point in the history
Signed-off-by: Bugen Zhao <[email protected]>
  • Loading branch information
BugenZhao committed Jan 9, 2024
1 parent 7a0be5b commit 6ddfd11
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/connector/src/parser/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ impl<P: ByteStreamSourceParser> P {
/// A [`SourceWithStateStream`] which is a stream of parsed messages.
pub fn into_stream(self, data_stream: BoxSourceStream) -> impl SourceWithStateStream {
// Enable tracing to provide more information for parsing failures.
let source_info = self.source_ctx().source_info.clone();
let source_info = self.source_ctx().source_info;

// The parser stream will be long-lived. We use `instrument_with` here to create
// a new span for the polling of each chunk.
Expand Down
1 change: 0 additions & 1 deletion src/meta/node/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,6 @@ pub fn rpc_serve_with_store(

let election_client_ = election_client.clone();
Some(tokio::spawn(async move {
let _ = tracing::span!(tracing::Level::INFO, "follower services").enter();
start_service_as_election_follower(
svc_shutdown_rx_clone,
follower_shutdown_rx,
Expand Down

0 comments on commit 6ddfd11

Please sign in to comment.