From 007faf0445d248960af460d956005c21716aa16a Mon Sep 17 00:00:00 2001 From: Zyyeric Date: Wed, 10 Jul 2024 02:04:34 +0800 Subject: [PATCH] fix syntax error Signed-off-by: Zyyeric --- core/src/services/s3/backend.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/services/s3/backend.rs b/core/src/services/s3/backend.rs index 2e013a821623..d4d6b9be052f 100644 --- a/core/src/services/s3/backend.rs +++ b/core/src/services/s3/backend.rs @@ -534,7 +534,7 @@ impl S3Builder { /// Set temporary credential used in AWS S3 connections #[deprecated(note = "Please use `session_token` instead")] pub fn security_token(&mut self, token: &str) -> &mut Self { - self.session_token(token); + self.session_token(token) } /// Disable config load so that opendal will not load config from