This is an automated email from the ASF dual-hosted git repository. suyanhanx pushed a commit to branch gdrive-docs in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
commit 5d747aaf2268d33ad451772592fa6424e7196814 Author: suyanhanx <[email protected]> AuthorDate: Tue Aug 29 20:58:33 2023 +0800 fmt Signed-off-by: suyanhanx <[email protected]> --- core/src/services/gdrive/backend.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/services/gdrive/backend.rs b/core/src/services/gdrive/backend.rs index 69949287c..aa1f492df 100644 --- a/core/src/services/gdrive/backend.rs +++ b/core/src/services/gdrive/backend.rs @@ -149,7 +149,9 @@ impl Accessor for GdriveBackend { let status = resp.status(); match status { - StatusCode::OK | StatusCode::PARTIAL_CONTENT => Ok((RpRead::with_metadata(meta), resp.into_body())), + StatusCode::OK | StatusCode::PARTIAL_CONTENT => { + Ok((RpRead::with_metadata(meta), resp.into_body())) + } _ => Err(parse_error(resp).await?), } }
