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

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

commit a5ff13563e0ea3f18cd2a74f172be8bf6c08f3a2
Author: silver-ymz <[email protected]>
AuthorDate: Mon Sep 11 20:40:53 2023 +0800

    chore: fix typo of SftpWriter error message
    
    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