diff options
author | Trinity Pointard <trinity.pointard@gmail.com> | 2021-04-23 21:57:32 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-05-03 22:11:41 +0200 |
commit | 4a1e079e8fe2c17078a274ef17c8d63e9b1bb96e (patch) | |
tree | 931ae67ad8f1fc22424c3e21394de188905a9586 /src/model/garage.rs | |
parent | f5a0cf0414fc3db7affcbe7ffcf4e251a2afd192 (diff) | |
download | garage-4a1e079e8fe2c17078a274ef17c8d63e9b1bb96e.tar.gz garage-4a1e079e8fe2c17078a274ef17c8d63e9b1bb96e.zip |
fix clippy warnings on model
Diffstat (limited to 'src/model/garage.rs')
-rw-r--r-- | src/model/garage.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/model/garage.rs b/src/model/garage.rs index 797a91e5..5c6c21f2 100644 --- a/src/model/garage.rs +++ b/src/model/garage.rs @@ -95,7 +95,7 @@ impl Garage { BlockRefTable { block_manager: block_manager.clone(), }, - data_rep_param.clone(), + data_rep_param, system.clone(), &db, "block_ref".to_string(), @@ -121,7 +121,7 @@ impl Garage { background: background.clone(), version_table: version_table.clone(), }, - meta_rep_param.clone(), + meta_rep_param, system.clone(), &db, "object".to_string(), @@ -141,7 +141,7 @@ impl Garage { info!("Initialize key_table_table..."); let key_table = Table::new( KeyTable, - control_rep_param.clone(), + control_rep_param, system.clone(), &db, "key".to_string(), @@ -152,9 +152,9 @@ impl Garage { let garage = Arc::new(Self { config, db, - system: system.clone(), - block_manager, background, + system, + block_manager, bucket_table, key_table, object_table, |