improve code run fun

This commit is contained in:
houseme
2025-05-19 23:04:02 +08:00
parent 72f5a24144
commit 2d9394a8e0
3 changed files with 15 additions and 10 deletions
+1 -1
View File
@@ -497,7 +497,7 @@ async fn run(opt: config::Opt) -> Result<()> {
});
// init store
let store = ECStore::new(server_address.clone(), endpoint_pools.clone())
let store = ECStore::new(server_addr.clone(), endpoint_pools.clone())
.await
.map_err(|err| {
error!("ECStore::new {:?}", &err);