summaryrefslogtreecommitdiff
path: root/rola-bucket/src/bucket/space.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rola-bucket/src/bucket/space.rs')
-rw-r--r--rola-bucket/src/bucket/space.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rola-bucket/src/bucket/space.rs b/rola-bucket/src/bucket/space.rs
index ed1311c..353075d 100644
--- a/rola-bucket/src/bucket/space.rs
+++ b/rola-bucket/src/bucket/space.rs
@@ -10,10 +10,10 @@ impl<Protocol: AsyncBucketTransferProtocol + Send + Sync> SpaceRoot for Bucket<P
SpaceRootFindPattern::IncludeFile(FILE_BUCKET_ROOT_CONFIG.into())
}
- async fn create_space(path: &std::path::Path) -> Result<(), space_system::SpaceError> {
+ fn create_space(path: &std::path::Path) -> Result<(), space_system::SpaceError> {
let path_str = path.display().to_string();
trace!("Creating bucket at: {}", &path_str);
- init_bucket_at(path.into()).await?;
+ init_bucket_at(path.into())?;
trace!("Bucket created at: {}", &path_str);
Ok(())
}