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/07/12 05:41:48 UTC

(opendal) 01/01: fix(services/azdls): Fix append not handled correctly while offset==0

This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch fix-azdls
in repository https://gitbox.apache.org/repos/asf/opendal.git

commit b7482ac7b158bfbbcac65a21d9ac67485b3d854d
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Sat Jul 12 13:41:12 2025 +0800

    fix(services/azdls): Fix append not handled correctly while offset==0
    
    Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
 core/src/services/azdls/writer.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/services/azdls/writer.rs b/core/src/services/azdls/writer.rs
index d2d8ea0af..9f06417ad 100644
--- a/core/src/services/azdls/writer.rs
+++ b/core/src/services/azdls/writer.rs
@@ -104,7 +104,7 @@ impl oio::AppendWrite for AzdlsWriter {
             let meta = AzdlsWriter::parse_metadata(resp.headers())?;
             let status = resp.status();
             match status {
-                StatusCode::CREATED | StatusCode::OK => return Ok(meta),
+                StatusCode::CREATED | StatusCode::OK => {}
                 _ => {
                     return Err(parse_error(resp).with_operation("Backend::azdls_create_request"));
                 }