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

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


The following commit(s) were added to refs/heads/main by this push:
     new 4a52ba64c chore: fix typo of SftpWriter error message (#3032)
4a52ba64c is described below

commit 4a52ba64ce72d65d49bc1479f6a891802283b9a2
Author: Mingzhuo Yin <[email protected]>
AuthorDate: Mon Sep 11 20:43:51 2023 +0800

    chore: fix typo of SftpWriter error message (#3032)
    
    Signed-off-by: silver-ymz <[email protected]>
---
 core/src/services/sftp/writer.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/services/sftp/writer.rs b/core/src/services/sftp/writer.rs
index 3e596c4b4..c6a2aa6be 100644
--- a/core/src/services/sftp/writer.rs
+++ b/core/src/services/sftp/writer.rs
@@ -55,7 +55,7 @@ impl oio::Write for SftpWriter {
     fn poll_abort(&mut self, _: &mut Context<'_>) -> Poll<Result<()>> {
         Poll::Ready(Err(Error::new(
             ErrorKind::Unsupported,
-            "HdfsWriter doesn't support abort",
+            "SftpWriter doesn't support abort",
         )))
     }
 }

Reply via email to