diff --git a/core/src/services/cos/backend.rs b/core/src/services/cos/backend.rs index 1a3360ac1ffe..0a9eb3f3dd64 100644 --- a/core/src/services/cos/backend.rs +++ b/core/src/services/cos/backend.rs @@ -313,11 +313,11 @@ impl Access for CosBackend { let status = resp.status(); match status { - StatusCode::OK =>{ + StatusCode::OK => { let headers = resp.headers(); let mut meta = self.core.parse_metadata(path, resp.headers())?; Ok(RpStat::new(meta)) - }, + } _ => Err(parse_error(resp)), } }