jorgehermo9 commented on code in PR #6113:
URL: https://github.com/apache/opendal/pull/6113#discussion_r2062667298


##########
core/src/services/webhdfs/core.rs:
##########
@@ -235,44 +240,46 @@ impl WebhdfsCore {
 
         let req = Request::post(url);
 
-        req.body(Buffer::new()).map_err(new_request_build_error)
+        let req = req.body(Buffer::new()).map_err(new_request_build_error)?;
+
+        self.info.http_client().send(req).await
     }
 
-    fn webhdfs_open_request(&self, path: &str, range: &BytesRange) -> 
Result<Request<Buffer>> {
+    pub async fn webhdfs_list_status(&self, path: &str) -> 
Result<Response<Buffer>> {

Review Comment:
   As I moved the `webhdfs_open_request` to be next `webhdfs_read_file`, the 
diff seems to be broken and it appears that I changed a lot... But I just moved 
the `webhdfs_open_request` a few lines down :/



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to