Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank-III committed Dec 10, 2024
1 parent 2b02ce5 commit 923f5c8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/src/services/obs/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
// specific language governing permissions and limitations
// under the License.

use std::collections::HashMap;
use std::fmt::Debug;
use std::fmt::Formatter;
use std::sync::Arc;
Expand All @@ -27,7 +28,7 @@ use reqsign::HuaweicloudObsConfig;
use reqsign::HuaweicloudObsCredentialLoader;
use reqsign::HuaweicloudObsSigner;

use super::core::ObsCore;
use super::core::{constants, ObsCore};
use super::delete::ObsDeleter;
use super::error::parse_error;
use super::lister::ObsLister;
Expand Down Expand Up @@ -314,7 +315,7 @@ impl Access for ObsBackend {
// The response is very similar to azblob.
match status {
StatusCode::OK => {
let mut meta = parse_into_metadata(path, headers);
let mut meta = parse_into_metadata(path, headers)?;
let user_meta = headers
.iter()
.filter_map(|(name, _)| {
Expand Down

0 comments on commit 923f5c8

Please sign in to comment.