You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by si...@apache.org on 2023/09/11 12:42:58 UTC
[incubator-opendal] 01/01: chore: fix typo of SftpWriter error message
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 <yi...@gmail.com>
AuthorDate: Mon Sep 11 20:40:53 2023 +0800
chore: fix typo of SftpWriter error message
Signed-off-by: silver-ymz <yi...@gmail.com>
---
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",
)))
}
}