fix clippy

This commit is contained in:
weisd
2025-06-23 10:28:57 +08:00
parent 080af2b39f
commit 5a5712fde0
5 changed files with 10 additions and 25 deletions
+3 -5
View File
@@ -502,11 +502,9 @@ async fn run(opt: config::Opt) -> Result<()> {
});
// init store
let store = ECStore::new(server_addr.clone(), endpoint_pools.clone())
.await
.inspect_err(|err| {
error!("ECStore::new {:?}", err);
})?;
let store = ECStore::new(server_addr, endpoint_pools.clone()).await.inspect_err(|err| {
error!("ECStore::new {:?}", err);
})?;
ecconfig::init();
// config system configuration