diff options
author | Alex Auvolat <alex@adnab.me> | 2020-04-12 15:51:19 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-04-12 15:51:19 +0200 |
commit | d1e8f78b2cd28f4514ad6f7d54aae6aaa4ef3f15 (patch) | |
tree | 74ac969472fad3baa8f5a3cdac6bfc6b3846d2e3 /src/version_table.rs | |
parent | 5967c5a5af430855fbd73f380041d63bd82f5ce1 (diff) | |
download | garage-d1e8f78b2cd28f4514ad6f7d54aae6aaa4ef3f15.tar.gz garage-d1e8f78b2cd28f4514ad6f7d54aae6aaa4ef3f15.zip |
Trying to do TLS
Diffstat (limited to 'src/version_table.rs')
-rw-r--r-- | src/version_table.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/version_table.rs b/src/version_table.rs index cb70c645..106527b1 100644 --- a/src/version_table.rs +++ b/src/version_table.rs @@ -2,9 +2,9 @@ use async_trait::async_trait; use serde::{Deserialize, Serialize}; use std::sync::Arc; +use crate::background::BackgroundRunner; use crate::data::*; use crate::table::*; -use crate::background::BackgroundRunner; #[derive(PartialEq, Clone, Debug, Serialize, Deserialize)] pub struct Version { @@ -78,9 +78,7 @@ impl TableFormat for VersionTable { deleted: true, }) .collect::<Vec<_>>(); - block_ref_table - .insert_many(&deleted_block_refs[..]) - .await?; + block_ref_table.insert_many(&deleted_block_refs[..]).await?; } } Ok(()) |