Switched s3 crates
This commit is contained in:
@@ -124,12 +124,6 @@ impl From<s3::creds::error::CredentialsError> for ServiceError {
|
||||
}
|
||||
}
|
||||
|
||||
impl From<minio::s3::error::Error> for ServiceError {
|
||||
fn from(error: minio::s3::error::Error) -> ServiceError {
|
||||
ServiceError::new(500, format!("Unknown minio error: {}", error))
|
||||
}
|
||||
}
|
||||
|
||||
impl ResponseError for ServiceError {
|
||||
fn error_response(&self) -> HttpResponse {
|
||||
let status_code = match StatusCode::from_u16(self.status) {
|
||||
|
||||
Reference in New Issue
Block a user