You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2025/10/14 08:13:35 UTC
(opendal) 04/04: Fix fs
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch registry-more
in repository https://gitbox.apache.org/repos/asf/opendal.git
commit e71fc6983c2bda9d1e099100e88bdda9c707d7b8
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Wed Oct 1 19:58:09 2025 +0800
Fix fs
Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
core/src/services/fs/backend.rs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/core/src/services/fs/backend.rs b/core/src/services/fs/backend.rs
index 0b616bc7d..156c4006d 100644
--- a/core/src/services/fs/backend.rs
+++ b/core/src/services/fs/backend.rs
@@ -293,11 +293,12 @@ mod tests {
use super::*;
use crate::types::OperatorUri;
use crate::Configurator;
+ use http::Uri;
#[test]
fn from_uri_extracts_root() {
let uri = OperatorUri::new(
- "fs:///tmp/data".parse().unwrap(),
+ Uri::from_static("fs://tmp/data"),
Vec::<(String, String)>::new(),
)
.unwrap();