From 68821d82f7a2fa01d5e1348a87f2a95c677dd62b Mon Sep 17 00:00:00 2001 From: weisd Date: Mon, 12 Jan 2026 13:38:55 +0800 Subject: [PATCH] merge main --- crates/ecstore/src/disk/local.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ecstore/src/disk/local.rs b/crates/ecstore/src/disk/local.rs index 46255c1a..5fb513d9 100644 --- a/crates/ecstore/src/disk/local.rs +++ b/crates/ecstore/src/disk/local.rs @@ -1872,12 +1872,12 @@ impl DiskAPI for LocalDisk { let mut objs_returned = 0; - if opts.base_dir.ends_with(SLASH_SEPARATOR) { + if opts.base_dir.ends_with(SLASH_SEPARATOR_STR) { if let Ok(data) = self .read_metadata( &opts.bucket, path_join_buf(&[ - format!("{}{}", opts.base_dir.trim_end_matches(SLASH_SEPARATOR), GLOBAL_DIR_SUFFIX).as_str(), + format!("{}{}", opts.base_dir.trim_end_matches(SLASH_SEPARATOR_STR), GLOBAL_DIR_SUFFIX).as_str(), STORAGE_FORMAT_FILE, ]) .as_str(),