Skip to content

Commit

Permalink
Remove unnecessary clone
Browse files Browse the repository at this point in the history
  • Loading branch information
luqmana committed Nov 18, 2021
1 parent ae37936 commit 302f48e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/lib/migrate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ pub async fn dest_initiate(
let conn = hyper::upgrade::on(res).await?;

let migrate_context = Arc::new(MigrateContext {
migration_id: migration_id.clone(),
migration_id,
state: RwLock::new(MigrationState::Sync),
});

Expand Down

0 comments on commit 302f48e

Please sign in to comment.