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

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

commit 9b4c2b4d5320786e5eb3e872018d752d7ca3ed77
Author: suyanhanx <[email protected]>
AuthorDate: Wed Jun 21 00:12:05 2023 +0800

    fix
    
    Signed-off-by: suyanhanx <[email protected]>
---
 .github/workflows/service_test_dropbox.yml | 2 +-
 core/src/services/dropbox/core.rs          | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/service_test_dropbox.yml 
b/.github/workflows/service_test_dropbox.yml
index c96f9d8f0..4aac1067b 100644
--- a/.github/workflows/service_test_dropbox.yml
+++ b/.github/workflows/service_test_dropbox.yml
@@ -61,4 +61,4 @@ jobs:
       - name: Test
         shell: bash
         working-directory: core
-        run: cargo nextest run dropbox --features=services-dropbox
+        run: cargo test dropbox --features=services-dropbox
diff --git a/core/src/services/dropbox/core.rs 
b/core/src/services/dropbox/core.rs
index d58a23f7c..65b64b900 100644
--- a/core/src/services/dropbox/core.rs
+++ b/core/src/services/dropbox/core.rs
@@ -83,7 +83,8 @@ impl DropboxCore {
         if let Some(mime) = content_type {
             request_builder = request_builder.header(header::CONTENT_TYPE, 
mime);
         } else {
-            request_builder = request_builder.header(header::CONTENT_TYPE, 
"application/octet-stream");
+            request_builder =
+                request_builder.header(header::CONTENT_TYPE, 
"application/octet-stream");
         }
         let request = self
             .build_auth_header(request_builder)

Reply via email to