mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-10 23:26:53 +00:00
fix(ecstore): log walk failures in IAM listing path (#2705)
Co-authored-by: GatewayJ <8352692332qq.com> Co-authored-by: loverustfs <hello@rustfs.com> Co-authored-by: houseme <housemecn@gmail.com>
This commit is contained in:
@@ -369,9 +369,17 @@ impl ObjectStore {
|
||||
|
||||
let path = prefix.to_owned();
|
||||
tokio::spawn(async move {
|
||||
store
|
||||
if let Err(err) = store
|
||||
.walk(ctx.clone(), Self::BUCKET_NAME, &path, tx, WalkOptions::default())
|
||||
.await
|
||||
{
|
||||
error!(
|
||||
bucket = Self::BUCKET_NAME,
|
||||
prefix = %path,
|
||||
error = ?err,
|
||||
"list_iam_config_items walk task failed"
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
let prefix = prefix.to_owned();
|
||||
|
||||
Reference in New Issue
Block a user