This commit is contained in:
weisd
2024-06-25 17:35:31 +08:00
parent d3714de65b
commit faeb477880
5 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ pub struct ECStore {
}
impl ECStore {
pub fn new(endpoints: Vec<String>, address: String) -> Result<Self> {
pub fn new(address: String, endpoints: Vec<String>) -> Result<Self> {
let layouts = DisksLayout::new(endpoints)?;
let (pools, _) = create_server_endpoints(address, &layouts.pools, layouts.legacy)?;