morristai commented on code in PR #3461:
URL:
https://github.com/apache/incubator-opendal/pull/3461#discussion_r1381039960
##########
core/src/services/swift/backend.rs:
##########
@@ -261,11 +263,10 @@ impl Accessor for SwiftBackend {
}
async fn read(&self, path: &str, args: OpRead) -> Result<(RpRead,
Self::Reader)> {
- let range = args.range();
- let resp = self.core.swift_read(path, range).await?;
+ let resp = self.core.swift_read(path, args).await?;
match resp.status() {
- StatusCode::OK | StatusCode::PARTIAL_CONTENT => {
+ StatusCode::OK | StatusCode::PARTIAL_CONTENT |
StatusCode::RANGE_NOT_SATISFIABLE => {
Review Comment:
Sorry, miss pushed wrong fix commit. Fixed.
--
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]