mirror of
https://github.com/rustfs/rustfs.git
synced 2026-03-17 14:24:08 +00:00
run init
This commit is contained in:
@@ -47,4 +47,4 @@ pub struct Objects {
|
||||
#[async_trait::async_trait]
|
||||
trait DiskAPI: Debug + Send + Sync + 'static {}
|
||||
|
||||
pub trait StorageAPI {}
|
||||
pub trait StorageAPI: Debug + Send + Sync + 'static {}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
use std::fmt::Debug;
|
||||
|
||||
use s3s::dto::*;
|
||||
use s3s::s3_error;
|
||||
use s3s::S3Result;
|
||||
@@ -14,7 +16,7 @@ pub struct EC {
|
||||
|
||||
impl EC {
|
||||
pub fn new(address: String, endpoints: Vec<String>) -> Result<Self> {
|
||||
let store = ECStore::new(address, endpoints)?;
|
||||
let store: ECStore = ECStore::new(address, endpoints)?;
|
||||
Ok(EC { store })
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user