Skip to content

Commit

Permalink
fix warn
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel committed Jul 4, 2024
1 parent 3ba9774 commit e73f69a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/meta/src/rpc/ddl_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -954,8 +954,7 @@ impl DdlController {
&ctx.replace_table_job_info
{
*target_table = Some((table.clone(), source.clone()));
if let StreamingJob::Sink(ref sink, ref mut target_table) =
&mut ctx.streaming_job
if let StreamingJob::Sink(_, ref mut target_table) = &mut ctx.streaming_job
{
*target_table = Some((table.clone(), source.clone()));
}
Expand Down

0 comments on commit e73f69a

Please sign in to comment.