fix: bug crash when disk drop

This commit is contained in:
weisd
2024-12-12 09:54:06 +08:00
parent 7d2c9b06de
commit 0552254c23
6 changed files with 31 additions and 6 deletions
+1
View File
@@ -98,6 +98,7 @@ pub struct ECStore {
impl ECStore {
#[allow(clippy::new_ret_no_self)]
#[tracing::instrument(level = "debug", skip(endpoint_pools))]
pub async fn new(_address: String, endpoint_pools: EndpointServerPools) -> Result<Arc<Self>> {
// let layouts = DisksLayout::from_volumes(endpoints.as_slice())?;