aboutsummaryrefslogtreecommitdiff
path: root/src/api/admin/error.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-05-17 16:48:23 +0200
committerAlex Auvolat <alex@adnab.me>2022-05-17 16:48:23 +0200
commit8b1338ef2fcd36214c3ad90f5d3585377f28ec86 (patch)
treeccaf940e1cb5bc87824a00575bb3cdb031f186b2 /src/api/admin/error.rs
parent8ff95f09c9edf218b6302470cd57868147316e59 (diff)
downloadgarage-8b1338ef2fcd36214c3ad90f5d3585377f28ec86.tar.gz
garage-8b1338ef2fcd36214c3ad90f5d3585377f28ec86.zip
Fix error code
Diffstat (limited to 'src/api/admin/error.rs')
-rw-r--r--src/api/admin/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/admin/error.rs b/src/api/admin/error.rs
index cd7e6af7..592440a5 100644
--- a/src/api/admin/error.rs
+++ b/src/api/admin/error.rs
@@ -2,7 +2,7 @@ use err_derive::Error;
use hyper::header::HeaderValue;
use hyper::{Body, HeaderMap, StatusCode};
-use garage_model::helper::error::Error as HelperError;
+pub use garage_model::helper::error::Error as HelperError;
use crate::common_error::CommonError;
pub use crate::common_error::{CommonErrorDerivative, OkOrBadRequest, OkOrInternalError};