From bd660f88a24bafc24dc3d21bd2046a4ecc4e7d0f 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/pools.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ecstore/src/pools.rs b/crates/ecstore/src/pools.rs index 294c4fc0..0461f935 100644 --- a/crates/ecstore/src/pools.rs +++ b/crates/ecstore/src/pools.rs @@ -454,7 +454,7 @@ pub fn path2_bucket_object_with_base_path(base_path: &str, path: &str) -> (Strin .strip_prefix(SLASH_SEPARATOR_STR) .unwrap_or(path); // Find the position of the first '/' - let Some(pos) = trimmed_path.find(SLASH_SEPARATOR) else { + let Some(pos) = trimmed_path.find(SLASH_SEPARATOR_STR) else { return (trimmed_path.to_string(), "".to_string()); }; // Split into bucket and prefix