Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
geetanshjuneja committed Jan 5, 2025
1 parent 255e7ce commit 4206211
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/services/cos/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ impl Access for CosBackend {
match status {
StatusCode::OK => {
let headers = resp.headers();
let mut meta = self.core.parse_metadata(path, resp.headers())?;
let meta = self.core.parse_metadata(path, resp.headers())?;
Ok(RpStat::new(meta))
}
_ => Err(parse_error(resp)),
Expand Down
2 changes: 1 addition & 1 deletion core/src/services/cos/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ use http::header::CONTENT_LENGTH;
use http::header::CONTENT_TYPE;
use http::header::IF_MATCH;
use http::header::IF_NONE_MATCH;
use http::HeaderMap;
use http::Request;
use http::Response;
use http::HeaderMap;
use reqsign::TencentCosCredential;
use reqsign::TencentCosCredentialLoader;
use reqsign::TencentCosSigner;
Expand Down

0 comments on commit 4206211

Please sign in to comment.