mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-22 18:56:39 +00:00
[import-netapp] import Netapp code into Garage codebase
This commit is contained in:
@@ -22,9 +22,9 @@ pub enum Error {
|
||||
NoSuchBucket(String),
|
||||
}
|
||||
|
||||
impl From<netapp::error::Error> for Error {
|
||||
fn from(e: netapp::error::Error) -> Self {
|
||||
Error::Internal(GarageError::Netapp(e))
|
||||
impl From<garage_net::error::Error> for Error {
|
||||
fn from(e: garage_net::error::Error) -> Self {
|
||||
Error::Internal(GarageError::Net(e))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user